Closed opsiff closed 2 weeks ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign liujianqiang-niu for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
0edb555: platform: Make platform_driver::remove() return void cause build error, so convert .remove from int to void
Log: drivers/net/can/phytium/phytium_can_platform.c:220:19: error: initialization of ‘void ()(struct platform_device )’ from incompatible pointer type ‘int ()(struct platform_device )’ [-Werror=incompatible-pointer-types] 220 | .remove = phytium_can_plat_remove, | ^.remove’)
~~~~~~ drivers/net/can/phytium/phytium_can_platform.c:220:19: note: (near initialization for ‘phytium_can_plat_driver.