* [PATCH net-next] hsr: fix dummy hsr_debugfs_rename() declaration
@ 2020-01-07 20:03 Arnd Bergmann
2020-01-08 21:10 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2020-01-07 20:03 UTC (permalink / raw)
To: Arvid Brodin, David S. Miller, Taehee Yoo
Cc: Arnd Bergmann, Murali Karicheri, netdev, linux-kernel
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 <arnd@arndb.de>
---
net/hsr/hsr_main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/hsr/hsr_main.h b/net/hsr/hsr_main.h
index d40de84a637f..754d84b217f0 100644
--- a/net/hsr/hsr_main.h
+++ b/net/hsr/hsr_main.h
@@ -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,
--
2.20.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] hsr: fix dummy hsr_debugfs_rename() declaration
2020-01-07 20:03 [PATCH net-next] hsr: fix dummy hsr_debugfs_rename() declaration Arnd Bergmann
@ 2020-01-08 21:10 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-01-08 21:10 UTC (permalink / raw)
To: arnd; +Cc: arvid.brodin, ap420073, m-karicheri2, netdev, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
Date: Tue, 7 Jan 2020 21:03:39 +0100
> 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 <arnd@arndb.de>
Applied, thanks Arnd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-08 21:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-07 20:03 [PATCH net-next] hsr: fix dummy hsr_debugfs_rename() declaration Arnd Bergmann
2020-01-08 21:10 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.