summaryrefslogtreecommitdiff
path: root/drivers/net/3c507.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-11-23 21:50:34 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:04:05 -0800
commitcba0516ddb9153afdc0ffffb9124f5f12a3b6ae5 (patch)
tree6231980599bf9e5ad42c149c242f21b61d95b59b /drivers/net/3c507.c
parent93a3b607e6eff7880959149a581d90c71887eb19 (diff)
downloadlinux-3.10-cba0516ddb9153afdc0ffffb9124f5f12a3b6ae5.tar.gz
linux-3.10-cba0516ddb9153afdc0ffffb9124f5f12a3b6ae5.tar.bz2
linux-3.10-cba0516ddb9153afdc0ffffb9124f5f12a3b6ae5.zip
[netdrvr] checkpatch cleanups
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/3c507.c')
-rw-r--r--drivers/net/3c507.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/net/3c507.c b/drivers/net/3c507.c
index f90ede93148..030c147211b 100644
--- a/drivers/net/3c507.c
+++ b/drivers/net/3c507.c
@@ -832,10 +832,11 @@ static void el16_rx(struct net_device *dev)
if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22
|| (pkt_len & 0xC000) != 0xC000) {
- printk("%s: Rx frame at %#x corrupted, status %04x cmd %04x "
- "next %04x data-buf @%04x %04x.\n", dev->name, rx_head,
- frame_status, rfd_cmd, next_rx_frame, data_buffer_addr,
- pkt_len);
+ printk(KERN_ERR "%s: Rx frame at %#x corrupted, "
+ "status %04x cmd %04x next %04x "
+ "data-buf @%04x %04x.\n",
+ dev->name, rx_head, frame_status, rfd_cmd,
+ next_rx_frame, data_buffer_addr, pkt_len);
} else if ((frame_status & 0x2000) == 0) {
/* Frame Rxed, but with error. */
dev->stats.rx_errors++;
@@ -851,7 +852,9 @@ static void el16_rx(struct net_device *dev)
pkt_len &= 0x3fff;
skb = dev_alloc_skb(pkt_len+2);
if (skb == NULL) {
- printk("%s: Memory squeeze, dropping packet.\n", dev->name);
+ printk(KERN_ERR "%s: Memory squeeze, "
+ "dropping packet.\n",
+ dev->name);
dev->stats.rx_dropped++;
break;
}