]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
aoe: err device: include MAC addresses for unexpected responses
authorEd Cashin <ecashin@coraid.com>
Fri, 9 Nov 2012 03:05:16 +0000 (14:05 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:35 +0000 (15:17 +1100)
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/aoe/aoecmd.c

index f849fa2471caf5e65310a72f6824018bdec52380..6ea27fd8954df833b781c1fe639a3683b7e38c74 100644 (file)
@@ -1204,12 +1204,14 @@ aoecmd_ata_rsp(struct sk_buff *skb)
                        spin_unlock_irqrestore(&d->lock, flags);
                        aoedev_put(d);
                        snprintf(ebuf, sizeof(ebuf),
-                                "%15s e%d.%d    tag=%08x@%08lx\n",
+                                "%15s e%d.%d    tag=%08x@%08lx s=%pm d=%pm\n",
                                 "unexpected rsp",
                                 get_unaligned_be16(&h->major),
                                 h->minor,
                                 get_unaligned_be32(&h->tag),
-                                jiffies);
+                                jiffies,
+                                h->src,
+                                h->dst);
                        aoechr_error(ebuf);
                        return skb;
                }