Skip to content

Commit 681bf01

Browse files
committed
eth: pse: add missing static inlines
build bot reports missing 'static inline' qualifiers in the header. Reported-by: kernel test robot <lkp@intel.com> Fixes: 18ff0bc ("ethtool: add interface to interact with Ethernet Power Equipment") Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.kernel.org/r/20221004040327.2034878-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent e52f7c1 commit 681bf01

File tree

1 file changed

+6
-6
lines changed
  • include/linux/pse-pd

1 file changed

+6
-6
lines changed

include/linux/pse-pd/pse.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,16 @@ static inline void pse_control_put(struct pse_control *psec)
110110
{
111111
}
112112

113-
int pse_ethtool_get_status(struct pse_control *psec,
114-
struct netlink_ext_ack *extack,
115-
struct pse_control_status *status)
113+
static inline int pse_ethtool_get_status(struct pse_control *psec,
114+
struct netlink_ext_ack *extack,
115+
struct pse_control_status *status)
116116
{
117117
return -ENOTSUPP;
118118
}
119119

120-
int pse_ethtool_set_config(struct pse_control *psec,
121-
struct netlink_ext_ack *extack,
122-
const struct pse_control_config *config)
120+
static inline int pse_ethtool_set_config(struct pse_control *psec,
121+
struct netlink_ext_ack *extack,
122+
const struct pse_control_config *config)
123123
{
124124
return -ENOTSUPP;
125125
}

0 commit comments

Comments
 (0)