diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-11-23 21:50:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:05 -0500 |
commit | cba0516ddb9153afdc0ffffb9124f5f12a3b6ae5 (patch) | |
tree | 6231980599bf9e5ad42c149c242f21b61d95b59b /drivers/net/3c507.c | |
parent | 93a3b607e6eff7880959149a581d90c71887eb19 (diff) |
[netdrvr] checkpatch cleanups
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/3c507.c')
-rw-r--r-- | drivers/net/3c507.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/net/3c507.c b/drivers/net/3c507.c index f90ede931489..030c147211ba 100644 --- a/drivers/net/3c507.c +++ b/drivers/net/3c507.c | |||
@@ -832,10 +832,11 @@ static void el16_rx(struct net_device *dev) | |||
832 | 832 | ||
833 | if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22 | 833 | if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22 |
834 | || (pkt_len & 0xC000) != 0xC000) { | 834 | || (pkt_len & 0xC000) != 0xC000) { |
835 | printk("%s: Rx frame at %#x corrupted, status %04x cmd %04x " | 835 | printk(KERN_ERR "%s: Rx frame at %#x corrupted, " |
836 | "next %04x data-buf @%04x %04x.\n", dev->name, rx_head, | 836 | "status %04x cmd %04x next %04x " |
837 | frame_status, rfd_cmd, next_rx_frame, data_buffer_addr, | 837 | "data-buf @%04x %04x.\n", |
838 | pkt_len); | 838 | dev->name, rx_head, frame_status, rfd_cmd, |
839 | next_rx_frame, data_buffer_addr, pkt_len); | ||
839 | } else if ((frame_status & 0x2000) == 0) { | 840 | } else if ((frame_status & 0x2000) == 0) { |
840 | /* Frame Rxed, but with error. */ | 841 | /* Frame Rxed, but with error. */ |
841 | dev->stats.rx_errors++; | 842 | dev->stats.rx_errors++; |
@@ -851,7 +852,9 @@ static void el16_rx(struct net_device *dev) | |||
851 | pkt_len &= 0x3fff; | 852 | pkt_len &= 0x3fff; |
852 | skb = dev_alloc_skb(pkt_len+2); | 853 | skb = dev_alloc_skb(pkt_len+2); |
853 | if (skb == NULL) { | 854 | if (skb == NULL) { |
854 | printk("%s: Memory squeeze, dropping packet.\n", dev->name); | 855 | printk(KERN_ERR "%s: Memory squeeze, " |
856 | "dropping packet.\n", | ||
857 | dev->name); | ||
855 | dev->stats.rx_dropped++; | 858 | dev->stats.rx_dropped++; |
856 | break; | 859 | break; |
857 | } | 860 | } |