* [patch] net,bonding: fix bond_options.c direct rwlock.h include
@ 2014-02-14 7:21 Mike Galbraith
2014-02-14 21:21 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Mike Galbraith @ 2014-02-14 7:21 UTC (permalink / raw)
To: netdev; +Cc: LKML
drivers/net/bonding/bond_options.c includes rwlock.h directly,
which is a nono, and which also breaks RT kernel build.
Signed-off-by: Mike Galbraith <bitbucket@online.de>
---
diff --git a/drivers/net/bonding/bond_options.c b/drivers/net/bonding/bond_options.c
index 11cb943222d5..c37878432717 100644
--- a/drivers/net/bonding/bond_options.c
+++ b/drivers/net/bonding/bond_options.c
@@ -14,7 +14,7 @@
#include <linux/errno.h>
#include <linux/if.h>
#include <linux/netdevice.h>
-#include <linux/rwlock.h>
+#include <linux/spinlock.h>
#include <linux/rcupdate.h>
#include <linux/ctype.h>
#include <linux/inet.h>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] net,bonding: fix bond_options.c direct rwlock.h include
2014-02-14 7:21 [patch] net,bonding: fix bond_options.c direct rwlock.h include Mike Galbraith
@ 2014-02-14 21:21 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-02-14 21:21 UTC (permalink / raw)
To: bitbucket; +Cc: netdev, linux-kernel
From: Mike Galbraith <bitbucket@online.de>
Date: Fri, 14 Feb 2014 08:21:04 +0100
> drivers/net/bonding/bond_options.c includes rwlock.h directly,
> which is a nono, and which also breaks RT kernel build.
>
> Signed-off-by: Mike Galbraith <bitbucket@online.de>
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-14 21:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14 7:21 [patch] net,bonding: fix bond_options.c direct rwlock.h include Mike Galbraith
2014-02-14 21:21 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).