Skip to content

Commit

Permalink
[BNX2]: output driver name as prefix in error message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John W. Linville authored and David S. Miller committed Nov 10, 2005
1 parent b925556 commit 2f23c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2f23c52

Please sign in to comment.