diff options
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r-- | drivers/net/spider_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index 9d3ae35767b4..f5abb5279d4d 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c | |||
@@ -1235,7 +1235,7 @@ spider_net_decode_one_descr(struct spider_net_card *card) | |||
1235 | goto bad_desc; | 1235 | goto bad_desc; |
1236 | } | 1236 | } |
1237 | 1237 | ||
1238 | if (hwdescr->dmac_cmd_status & 0xfcf4) { | 1238 | if (hwdescr->dmac_cmd_status & SPIDER_NET_DESCR_BAD_STATUS) { |
1239 | dev_err(&card->netdev->dev, "bad status, cmd_status=x%08x\n", | 1239 | dev_err(&card->netdev->dev, "bad status, cmd_status=x%08x\n", |
1240 | hwdescr->dmac_cmd_status); | 1240 | hwdescr->dmac_cmd_status); |
1241 | pr_err("buf_addr=x%08x\n", hw_buf_addr); | 1241 | pr_err("buf_addr=x%08x\n", hw_buf_addr); |