Message ID | 1376692475-28413-132-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index 23b3a7c..c9db93d 100644 --- 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 inline int ndisc_addr_option_pad(unsigned short type) { switch (type) { case ARPHRD_INFINIBAND: return 2;