* [PATCH] ndisc: Add missing inline to ndisc_addr_option_pad
@ 2013-07-30 17:31 Joe Perches
2013-07-31 22:18 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2013-07-30 17:31 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Signed-off-by: Joe Perches <joe@perches.com>
---
include/net/ndisc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net/ndisc.h b/include/net/ndisc.h
index 949d775..6fea323 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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ndisc: Add missing inline to ndisc_addr_option_pad
2013-07-30 17:31 [PATCH] ndisc: Add missing inline to ndisc_addr_option_pad Joe Perches
@ 2013-07-31 22:18 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-07-31 22:18 UTC (permalink / raw)
To: joe; +Cc: netdev
From: Joe Perches <joe@perches.com>
Date: Tue, 30 Jul 2013 10:31:00 -0700
> Signed-off-by: Joe Perches <joe@perches.com>
Applied, thanks Joe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-31 22:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-30 17:31 [PATCH] ndisc: Add missing inline to ndisc_addr_option_pad Joe Perches
2013-07-31 22:18 ` 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.