From: Arnd Bergmann <arnd@arndb.de>
To: "Keller, Jacob E" <jacob.e.keller@intel.com>
Cc: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@intel.com>,
"David S. Miller" <davem@davemloft.net>,
"Kwan, Ngai-mint" <ngai-mint.kwan@intel.com>,
"intel-wired-lan@lists.osuosl.org"
<intel-wired-lan@lists.osuosl.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] [RESEND net] fm10k: mark PM functions as __maybe_unused
Date: Tue, 16 Jan 2018 17:20:12 +0100 [thread overview]
Message-ID: <CAK8P3a27iQWGzwfDOMLj-sVquiHNPccAp0_8-2zoaqQVB0K44g@mail.gmail.com> (raw)
In-Reply-To: <02874ECE860811409154E81DA85FBB5882BD2802@fmsmsx158.amr.corp.intel.com>
On Tue, Jan 16, 2018 at 5:12 PM, Keller, Jacob E
<jacob.e.keller@intel.com> wrote:
>> -----Original Message-----
>> From: Arnd Bergmann [mailto:arnd@arndb.de]
>> Sent: Tuesday, January 16, 2018 1:14 AM
>> To: Kirsher, Jeffrey T <jeffrey.t.kirsher@intel.com>
>> Cc: Arnd Bergmann <arnd@arndb.de>; Keller, Jacob E
>> <jacob.e.keller@intel.com>; David S. Miller <davem@davemloft.net>; Kwan,
>> Ngai-mint <ngai-mint.kwan@intel.com>; intel-wired-lan@lists.osuosl.org;
>> netdev@vger.kernel.org; linux-kernel@vger.kernel.org
>> Subject: [PATCH] [RESEND net] fm10k: mark PM functions as __maybe_unused
>>
>> A cleanup of the PM code left an incorrect #ifdef in place, leading
>> to a harmless build warning:
>>
>> drivers/net/ethernet/intel/fm10k/fm10k_pci.c:2502:12: error: 'fm10k_suspend'
>> defined but not used [-Werror=unused-function]
>> drivers/net/ethernet/intel/fm10k/fm10k_pci.c:2475:12: error: 'fm10k_resume'
>> defined but not used [-Werror=unused-function]
>>
>> It's easier to use __maybe_unused attributes here, since you
>> can't pick the wrong one.
>>
>> Fixes: 8249c47c6ba4 ("fm10k: use generic PM hooks instead of legacy PCIe power
>> hooks")
>> Acked-by: Jacob Keller <jacob.e.keller@intel.com>
>> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>> ---
>> Apparently nobody picked this up the first time around (Oct 2017),
>> here is the same patch again.
>
> Odd. I remember seeing this and thought I ack'd it..? Guess it got missed.
>
> Acked-by: Jacob Keller <jacob.e.keller@intel.com>
Yes, you did give an Ack (see above), it's just that it didn't make it
into the tree for some reason. Maybe Jeff assumed you would
forward it to him and you thought that he would pick it up from the
list?
Arnd
prev parent reply other threads:[~2018-01-16 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-16 9:14 [PATCH] [RESEND net] fm10k: mark PM functions as __maybe_unused Arnd Bergmann
2018-01-16 16:12 ` Keller, Jacob E
2018-01-16 16:20 ` Arnd Bergmann [this message]
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=CAK8P3a27iQWGzwfDOMLj-sVquiHNPccAp0_8-2zoaqQVB0K44g@mail.gmail.com \
--to=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jacob.e.keller@intel.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ngai-mint.kwan@intel.com \
/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).