[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <51AC42AC.9000606@huawei.com>
Date: Mon, 3 Jun 2013 15:15:56 +0800
From: Yijing Wang <wangyijing@...wei.com>
To: David Miller <davem@...emloft.net>
CC: <nsujir@...adcom.com>, <mchan@...adcom.com>,
<linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>, <guohanjun@...wei.com>,
<liuj97@...il.com>
Subject: Re: [PATCH] tg3: remove redundant pm init code
On 2013/6/3 15:13, David Miller wrote:
> From: Yijing Wang <wangyijing@...wei.com>
> Date: Wed, 29 May 2013 17:00:32 +0800
>
>> Pci_enable_device() will set device pm state to D0, so
>> it's no need to do it again in tg3_init_one().
>>
>> Signed-off-by: Yijing Wang <wangyijing@...wei.com>
>
> This patch introduces a warning:
>
> drivers/net/ethernet/broadcom/tg3.c: In function ‘tg3_init_one’:
> drivers/net/ethernet/broadcom/tg3.c:17231:13: warning: ‘pm_cap’ may be used uninitialized in this function [-Wuninitialized]
>
Sorry, I will update it and resend soon.
Thanks!
Yijing.
--
Thanks!
Yijing
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists