eth: pse: add missing static inlines
Subsystems (2)
Jakub Kicinski
maintainerPATCH 1/1 eth: pse: add missing static inlines
build bot reports missing 'static inline' qualifiers in the header.
Reported-by kernel test robot <[email protected]>
Fixes 18ff0bcda6d1 ("ethtool: add interface to interact with Ethernet Power Equipment")
Signed-off-by Jakub Kicinski <[email protected]>
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
--- include/linux/pse-pd/pse.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
include/linux/pse-pd/pse.h +6 -6
@@ -110,16 +110,16 @@ static inline void pse_control_put(struct pse_control *psec) { } -int pse_ethtool_get_status (struct pse_control *psec, -struct netlink_ext_ack *extack, -struct pse_control_status *status) +static inline int pse_ethtool_get_status (struct pse_control *psec, +struct netlink_ext_ack *extack, +struct pse_control_status *status) {return -ENOTSUPP ; } -int pse_ethtool_set_config (struct pse_control *psec, -struct netlink_ext_ack *extack, -const struct pse_control_config *config) +static inline int pse_ethtool_set_config (struct pse_control *psec, +struct netlink_ext_ack *extack, +const struct pse_control_config *config) {return -ENOTSUPP ; }
Signature · 1 line
2.37.3
Quoted 5 lines · Jakub Kicinski
build bot reports missing 'static inline' qualifiers in the header.
Reported-by kernel test robot <[email protected]>Fixes 18ff0bcda6d1 ("ethtool: add interface to interact with Ethernet Power Equipment")Signed-off-by Jakub Kicinski <[email protected]>
Reviewed-by Oleksij Rempel <[email protected]>
Thank you!
Quoted 40 lines
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]--- include/linux/pse-pd/pse.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)include/linux/pse-pd/pse.h +6
-6@@ -110,16 +110,16 @@ static inline void pse_control_put(struct pse_control *psec) { } -int pse_ethtool_get_status (struct pse_control *psec, -struct netlink_ext_ack *extack, -struct pse_control_status *status) +static inline int pse_ethtool_get_status (struct pse_control *psec, +struct netlink_ext_ack *extack, +struct pse_control_status *status) {return -ENOTSUPP ; } -int pse_ethtool_set_config (struct pse_control *psec, -struct netlink_ext_ack *extack, -const struct pse_control_config *config) +static inline int pse_ethtool_set_config (struct pse_control *psec, +struct netlink_ext_ack *extack, +const struct pse_control_config *config) {return -ENOTSUPP ; }Signature · 1 line
2.37.3
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Quoted 5 lines · On Mon, 3 Oct 2022 21:03:27 -0700 you wrote:
build bot reports missing 'static inline' qualifiers in the header.
Reported-by kernel test robot <[email protected]>Fixes 18ff0bcda6d1 ("ethtool: add interface to interact with Ethernet Power Equipment")Signed-off-by Jakub Kicinski <[email protected]>
Quoted 7 lines
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected][...]
Here is the summary with links:
- [net-next] eth: pse: add missing static inlines
https://git.kernel.org/netdev/net-next/c/681bf011b9b5
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html