[BNX2]: output driver name as prefix in error message
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 10 Nov 2005 20:57:33 +0000 (12:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2005 20:57:33 +0000 (12:57 -0800)
Output driver name as prefix to "Unknown flash/EEPROM type." message.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c

index 8f46427..65aae28 100644 (file)
@@ -2707,7 +2707,7 @@ bnx2_init_nvram(struct bnx2 *bp)
 
        if (j == entry_count) {
                bp->flash_info = NULL;
-               printk(KERN_ALERT "Unknown flash/EEPROM type.\n");
+               printk(KERN_ALERT PFX "Unknown flash/EEPROM type.\n");
                rc = -ENODEV;
        }