From patchwork Mon Sep 22 21:52:23 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [14/21] e1000e-avoid-duplicated-output-of-device-name-in-kernel-warning-fix Date: Mon, 22 Sep 2008 11:52:23 -0000 From: Andrew Morton X-Patchwork-Id: 976 Message-Id: <200809222152.m8MLqNtV031978@imap1.linux-foundation.org> To: jeff@garzik.org Cc: netdev@vger.kernel.org, akpm@linux-foundation.org, elendil@planet.nl, jeffrey.t.kirsher@intel.com From: Andrew Morton hm. Cc: Frans Pop Cc: Jeff Garzik Cc: Jeff Kirsher Signed-off-by: Andrew Morton --- drivers/net/e1000e/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/net/e1000e/netdev.c~e1000e-avoid-duplicated-output-of-device-name-in-kernel-warning-fix drivers/net/e1000e/netdev.c --- a/drivers/net/e1000e/netdev.c~e1000e-avoid-duplicated-output-of-device-name-in-kernel-warning-fix +++ a/drivers/net/e1000e/netdev.c @@ -4671,7 +4671,7 @@ static void e1000_eeprom_checks(struct e ret_val = e1000_read_nvm(hw, NVM_INIT_CONTROL2_REG, 1, &buf); if (!(le16_to_cpu(buf) & (1 << 0))) { /* Deep Smart Power Down (DSPD) */ - dev_warn(&adapter->pdev-dev, + dev_warn(&adapter->pdev->dev, "Warning: detected DSPD enabled in EEPROM\n"); }