ax25: Fix the build when CONFIG_INET is disabled
Subsystems (2)
PATCH 1/1 ax25: Fix the build when CONFIG_INET is disabled
From: kbuild test robot <[email protected]>
Quoted 13 lines
Quoted 2 lines
Quoted 2 lines
net/ax25/ax25_ip.c:225:26: error: unknown type name 'sturct'
netdev_tx_tax25_ip_xmit(sturct sk_buff *skb)
^vim +/sturct +225
net/ax25/ax25_ip.c219 unsigned short type, const void *daddr, 220 const void *saddr, unsigned int len) 221 { 222 return -AX25_HEADER_LEN; 223 } 224
Quoted 4 lines
Quoted 1 line
225
netdev_tx_tax25_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]>
--- net/ax25/ax25_ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ax25/ax25_ip.c +1 -1
@@ -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 ;
Signature · 1 line
2.2.1
From: [email protected] (Eric W. Biederman)
Date: Thu, 05 Mar 2015 06:54:00 -0600
...
Quoted 3 lines
Ooops I misspelled struct...
Signed-off-by "Eric W. Biederman" <[email protected]>
Applied, thanks.