projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb3b9c
)
ndisc: Add missing inline to ndisc_addr_option_pad
author
Joe Perches
<joe@perches.com>
Tue, 30 Jul 2013 17:31:00 +0000
(10:31 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 31 Jul 2013 22:18:17 +0000
(15:18 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ndisc.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/ndisc.h
b/include/net/ndisc.h
index 949d77528f2f9cd87839029b424bded13cb52136..6fea32340ae8a5c697a18b7909c9b44d86cddeaf 100644
(file)
--- a/
include/net/ndisc.h
+++ b/
include/net/ndisc.h
@@
-119,7
+119,7
@@
extern struct ndisc_options *ndisc_parse_options(u8 *opt, int opt_len,
* if RFC 3831 IPv6-over-Fibre Channel is ever implemented it may
* also need a pad of 2.
*/
-static int ndisc_addr_option_pad(unsigned short type)
+static in
line in
t ndisc_addr_option_pad(unsigned short type)
{
switch (type) {
case ARPHRD_INFINIBAND: return 2;