aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorFrans Pop <[email protected]>2008-09-22 14:52:22 -0700
committerJeff Garzik <[email protected]>2008-09-24 22:05:26 -0400
commit6c2a9efadec464f848b18216e41783d3c01c7d10 (patch)
treed019f8d87ac30fb3ec27b3ccd73d33dbf8cd063d /include/linux/timerqueue.h
parenta4e77d063d61e4703db813470fefe90dac672b55 (diff)
e1000e: avoid duplicated output of device name in kernel warning
With 2.6.27-rc3 I noticed the following messages in my boot log: 0000:01:00.0: 0000:01:00.0: Warning: detected DSPD enabled in EEPROM 0000:01:00.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:16:76:04:ff:09 The second seems correct, but the first has a silly repetition of the PCI device before the actual message. The message originates from e1000_eeprom_checks in e1000e/netdev.c. With this patch below the first message becomes e1000e 0000:01:00.0: Warning: detected DSPD enabled in EEPROM which makes it similar to directly preceding messages. Use dev_warn instead of e_warn in e1000_eeprom_checks() as the interface name has not yet been assigned at that point. [[email protected]: coding-style fixes] Signed-off-by: Frans Pop <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions