From: <jie.yang@atheros.com>
To: <davem@davemloft.net>
Cc: <akpm@linux-foundation.org>, <jirislaby@gmail.com>,
<jcliburn@gmail.com>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, Jie Yang <jie.yang@atheros.com>
Subject: [Patch net-next]atl1c:remove compiling warning
Date: Mon, 21 Sep 2009 13:01:58 +0800 [thread overview]
Message-ID: <12535093181069-git-send-email-jie.yang@atheros.com> (raw)
Set wol_ctrl_data to value 0, to remove compiling warning.
Signed-off-by: Jie Yang <jie.yang@atheros.com>
---
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c
index be2c6cf..1372e9a 100644
--- a/drivers/net/atl1c/atl1c_main.c
+++ b/drivers/net/atl1c/atl1c_main.c
@@ -2296,7 +2296,7 @@ static int atl1c_suspend(struct pci_dev *pdev, pm_message_t state)
u32 ctrl;
u32 mac_ctrl_data;
u32 master_ctrl_data;
- u32 wol_ctrl_data;
+ u32 wol_ctrl_data = 0;
u16 mii_bmsr_data;
u16 save_autoneg_advertised;
u16 mii_intr_status_data;
next reply other threads:[~2009-09-21 5:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-21 5:01 jie.yang [this message]
2009-09-22 21:21 ` [Patch net-next]atl1c:remove compiling warning David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12535093181069-git-send-email-jie.yang@atheros.com \
--to=jie.yang@atheros.com \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=jcliburn@gmail.com \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).