projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe6c791
)
can: slcan: Add missing linux/sched.h include.
author
David S. Miller
<davem@davemloft.net>
Thu, 9 Dec 2010 02:41:03 +0000
(18:41 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 9 Dec 2010 02:41:03 +0000
(18:41 -0800)
drivers/net/can/slcan.c: In function 'slcan_open':
drivers/net/can/slcan.c:568: error: dereferencing pointer to incomplete type
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/slcan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/slcan.c
b/drivers/net/can/slcan.c
index 420e95ecc193a2267af2e4a7fabed431a07a2098..b423965a78d16fe702ddbba08d7dd8d529cdf767 100644
(file)
--- a/
drivers/net/can/slcan.c
+++ b/
drivers/net/can/slcan.c
@@
-53,6
+53,7
@@
#include <linux/rtnetlink.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
+#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/can.h>