qlcnic: Print firmware minidump buffer and template header addresses
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 7 Aug 2015 11:17:04 +0000 (07:17 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2015 20:34:28 +0000 (13:34 -0700)
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c

index aca47fd4b06c0daad73e725bf71cd48fd89d224c..cda9e604a95f68d61227808779a93abf1c400342 100644 (file)
@@ -1388,8 +1388,9 @@ int qlcnic_dump_fw(struct qlcnic_adapter *adapter)
        fw_dump->clr = 1;
        snprintf(mesg, sizeof(mesg), "FW_DUMP=%s", adapter->netdev->name);
        netdev_info(adapter->netdev,
-                   "Dump data %d bytes captured, template header size %d bytes\n",
-                   fw_dump->size, fw_dump->tmpl_hdr_size);
+                   "Dump data %d bytes captured, dump data address = %p, template header size %d bytes, template address = %p\n",
+                   fw_dump->size, fw_dump->data, fw_dump->tmpl_hdr_size,
+                   fw_dump->tmpl_hdr);
        /* Send a udev event to notify availability of FW dump */
        kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, msg);