drivers/net/enc28j60.c: Fix syslog formats
This commit is contained in:
parent
3086ceb28a
commit
fc05f89c78
@ -2081,8 +2081,10 @@ static int enc_ifup(struct net_driver_s *dev)
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ninfo("Bringing up: %d.%d.%d.%d\n",
|
ninfo("Bringing up: %d.%d.%d.%d\n",
|
||||||
dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff,
|
(int)(dev->d_ipaddr & 0xff),
|
||||||
(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24);
|
(int)((dev->d_ipaddr >> 8) & 0xff),
|
||||||
|
(int)((dev->d_ipaddr >> 16) & 0xff),
|
||||||
|
(int)(dev->d_ipaddr >> 24));
|
||||||
|
|
||||||
/* Lock the SPI bus so that we have exclusive access */
|
/* Lock the SPI bus so that we have exclusive access */
|
||||||
|
|
||||||
@ -2153,8 +2155,10 @@ static int enc_ifdown(struct net_driver_s *dev)
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ninfo("Taking down: %d.%d.%d.%d\n",
|
ninfo("Taking down: %d.%d.%d.%d\n",
|
||||||
dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff,
|
(int)(dev->d_ipaddr & 0xff),
|
||||||
(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24);
|
(int)((dev->d_ipaddr >> 8) & 0xff),
|
||||||
|
(int)((dev->d_ipaddr >> 16) & 0xff),
|
||||||
|
(int)(dev->d_ipaddr >> 24));
|
||||||
|
|
||||||
/* Lock the SPI bus so that we have exclusive access */
|
/* Lock the SPI bus so that we have exclusive access */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user