Skip to content

Commit

Permalink
ax25: Fix the build when CONFIG_INET is disabled
Browse files Browse the repository at this point in the history
>
> >> 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" <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
kbuild test robot authored and davem330 committed Mar 5, 2015
1 parent 66d0675 commit 787fb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ax25/ax25_ip.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static int ax25_hard_header(struct sk_buff *skb, struct net_device *dev,
return -AX25_HEADER_LEN;
}

netdev_tx_t ax25_ip_xmit(sturct sk_buff *skb)
netdev_tx_t ax25_ip_xmit(struct sk_buff *skb)
{
kfree_skb(skb);
return NETDEV_TX_OK;
Expand Down

0 comments on commit 787fb2b

Please sign in to comment.