ax25: Fix the build when CONFIG_INET is disabled
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 5 Mar 2015 12:54:00 +0000 (06:54 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2015 18:17:39 +0000 (13:17 -0500)
commit787fb2bd42b9d798f4ed85b66e878222a9e28ae6
treef6c6621e958a80585b0f4fd4addc2f191d459d02
parent66d06757d9eb74a29775737b8c770e3b57e536d9
ax25: Fix the build when CONFIG_INET is disabled

>
> >> net/ax25/ax25_ip.c:225:26: error: unknown type name 'sturct'
>     netdev_tx_t ax25_ip_xmit(sturct sk_buff *skb)
>                              ^
>
> vim +/sturct +225 net/ax25/ax25_ip.c
>
>    219     unsigned short type, const void *daddr,
>    220     const void *saddr, unsigned int len)
>    221 {
>    222 return -AX25_HEADER_LEN;
>    223 }
>    224
>  > 225 netdev_tx_t ax25_ip_xmit(sturct sk_buff *skb)
>    226 {
>    227 kfree_skb(skb);
>    228 return NETDEV_TX_OK;

Ooops I misspelled struct...

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/ax25_ip.c