[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210914224509.g2fbttqmrjhevftu@h510>
Date: Tue, 14 Sep 2021 22:45:14 +0000
From: Bryan Brattlof <hello@...anbrattlof.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: rtl8723bs: define wowlan_stub only when CONFIG_PM is enabled
On this day, September 14, 2021, thus sayeth Dan Carpenter:
> On Mon, Sep 13, 2021 at 11:42:55PM +0000, Bryan Brattlof wrote:
> > I'll be back with a v2 that rips all of this out.
>
> Or use the __maybe_unused annotation:
>
> static __maybe_unused const struct wiphy_wowlan_support wowlan_stub = {
>
Thanks for the suggestion Dan; I like this much better. :)
I've been poking around with my config today and noticed I can still
produce this warning with CONFIG_PM enabled, which means something else
is going on that I don't fully understand yet.
I may hold off on sending v2 until I make sure I understand what's going
on and double check that I didn't bork my config.
Thanks from jumping in
~Bryan
Powered by blists - more mailing lists