Skip to content

Commit 787fb2b

Browse files
kbuild test robotdavem330
authored andcommitted
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" <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 66d0675 commit 787fb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ax25/ax25_ip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ static int ax25_hard_header(struct sk_buff *skb, struct net_device *dev,
222222
return -AX25_HEADER_LEN;
223223
}
224224

225-
netdev_tx_t ax25_ip_xmit(sturct sk_buff *skb)
225+
netdev_tx_t ax25_ip_xmit(struct sk_buff *skb)
226226
{
227227
kfree_skb(skb);
228228
return NETDEV_TX_OK;

0 commit comments

Comments
 (0)