hsr: fix dummy hsr_debugfs_rename() declaration
Subsystems (3)
PATCH 1/1 hsr: fix dummy hsr_debugfs_rename() declaration
The hsr_debugfs_rename prototype got an extra 'void' that needs to be removed again:
In file included from /git/arm-soc/net/hsr/hsr_main.c:12:net/hsr/hsr_main.h:194:20: error: two or more data types in declaration specifiers
static inline void void hsr_debugfs_rename(struct net_device *dev)
Fixes 4c2d5e33dcd3 ("hsr: rename debugfs file when interface name is changed")
Signed-off-by Arnd Bergmann <[email protected]>
--- net/hsr/hsr_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/hsr/hsr_main.h +1 -1
@@ -191,7 +191,7 @@ void hsr_debugfs_term(struct hsr_priv *priv);void hsr_debugfs_create_root (void );void hsr_debugfs_remove_root (void );#else -static inline void void hsr_debugfs_rename(struct net_device *dev) +static inline void hsr_debugfs_rename (struct net_device *dev) { } static inline void hsr_debugfs_init(struct hsr_priv *priv,
Signature · 1 line
2.20.0
From: Arnd Bergmann <[email protected]>
Date: Tue, 7 Jan 2020 21:03:39 +0100
Quoted 9 lines
The
hsr_debugfs_renameprototype got an extra 'void' that needs to be removed again:In file included from /git/arm-soc/net/hsr/hsr_main.c:12:
net/hsr/hsr_main.h:194:20: error: two or more data types in declaration specifiers
static inline void voidhsr_debugfs_rename(struct net_device *dev)Fixes 4c2d5e33dcd3 ("hsr: rename debugfs file when interface name is changed")Signed-off-by Arnd Bergmann <[email protected]>
Applied, thanks Arnd.