[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 8f464271664dd0644878aeddaa5b52a19ad55abe..65aae2828f394e000ea1509d70690666cafeda7e 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;
        }