net: ethernet: eth.c: removed checkpatch warnings and errors
removed these checkpatch.pl warnings: net/ethernet/eth.c:61: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> net/ethernet/eth.c:136: WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... net/ethernet/eth.c:181: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Avinash Kumar <avi.kp.137@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
052c19e60d
commit
118a7b0ede
1 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@
|
||||||
#include <net/ipv6.h>
|
#include <net/ipv6.h>
|
||||||
#include <net/ip.h>
|
#include <net/ip.h>
|
||||||
#include <net/dsa.h>
|
#include <net/dsa.h>
|
||||||
#include <asm/uaccess.h>
|
#include <linux/uaccess.h>
|
||||||
|
|
||||||
__setup("ether=", netdev_boot_setup);
|
__setup("ether=", netdev_boot_setup);
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ int eth_rebuild_header(struct sk_buff *skb)
|
||||||
return arp_find(eth->h_dest, skb);
|
return arp_find(eth->h_dest, skb);
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
printk(KERN_DEBUG
|
netdev_dbg(dev,
|
||||||
"%s: unable to resolve type %X addresses.\n",
|
"%s: unable to resolve type %X addresses.\n",
|
||||||
dev->name, ntohs(eth->h_proto));
|
dev->name, ntohs(eth->h_proto));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue