提交 2f23c523 编写于 作者: J John W. Linville 提交者: David S. Miller

[BNX2]: output driver name as prefix in error message

Output driver name as prefix to "Unknown flash/EEPROM type." message.
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b925556c
...@@ -2707,7 +2707,7 @@ bnx2_init_nvram(struct bnx2 *bp) ...@@ -2707,7 +2707,7 @@ bnx2_init_nvram(struct bnx2 *bp)
if (j == entry_count) { if (j == entry_count) {
bp->flash_info = NULL; bp->flash_info = NULL;
printk(KERN_ALERT "Unknown flash/EEPROM type.\n"); printk(KERN_ALERT PFX "Unknown flash/EEPROM type.\n");
rc = -ENODEV; rc = -ENODEV;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册