hsr: Fix a compilation error
Subsystems (3)
PATCH 1/1 hsr: Fix a compilation error
From: "xiaofeng.yan" <[email protected]>
A compliation error happen when building branch 5.5-rc7
In file included from net/hsr/hsr_main.c:12:0: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)
So Removed one void.
--- net/hsr/hsr_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/hsr/hsr_main.h +1 -1
@@ -191,7 +191,7 @@ static inline u16 hsr_get_skb_sequence_nr(struct sk_buff *skb)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
1.8.3.1
Quoted 3 lines · xiaofeng.yan
From: "xiaofeng.yan" <[email protected]>
Hi Xiaofeng,
Quoted 9 lines
A compliation error happen when building branch 5.5-rc7
In file included from
net/hsr/hsr_main.c:12:0: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)So Removed one void.
Signed-off-by xiaofeng.yan <[email protected]>
I think the Fixes tag is needed.
You might have to send a v2 patch, which includes this Fixes tag.
Thank you!
Taehee Yoo