[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5609635E.6010907@sr71.net>
Date: Mon, 28 Sep 2015 08:57:18 -0700
From: Dave Hansen <dave@...1.net>
To: raanan.avargil@...el.com
Cc: dave.hansen@...ux.intel.com, jeffrey.t.kirsher@...el.com,
jesse.brandeburg@...el.com, shannon.nelson@...el.com,
carolyn.wyborny@...el.com, donald.c.skidmore@...el.com,
matthew.vick@...el.com, john.ronciak@...el.com,
mitch.a.williams@...el.com, intel-wired-lan@...ts.osuosl.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] e1000: fix e1000e_disable_aspm_locked() warning
On 08/31/2015 02:26 PM, Dave Hansen wrote:
> From: Dave Hansen <dave.hansen@...ux.intel.com>
>
> I have a .config with CONFIG_PM disabled. I get the following whenever
> compiling the e1000 driver:
>
> ...net/ethernet/intel/e1000e/netdev.c:6450:13: warning: 'e1000e_disable_aspm_locked' defined but not used [-Wunused-function]
> static void e1000e_disable_aspm_locked(struct pci_dev *pdev, u16 state)
>
> Looks like we just need to move e1000e_disable_aspm_locked() to
> be underneath the CONFIG_PM #ifdef.
This patch:
[2758f9edb]: e1000e: Fix incorrect ASPM locking
established a new caller for e1000e_disable_aspm_locked() which makes my
patch useless and wrong (it breaks the compile).
I believe we should just revert my patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists