Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9d10a30 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

ndisc: Add missing inline to ndisc_addr_option_pad

parent 8cb3b9c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;