Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1644539
| From | Johan Hovold <johan@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] staging: greybus: mark PM functions as __maybe_unused |
| Date | 2017-05-18 15:40 +0200 |
| Message-ID | <tItON-3bL-17@gated-at.bofh.it> (permalink) |
| References | <tItF7-37o-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, May 18, 2017 at 03:28:00PM +0200, Arnd Bergmann wrote:
> Enabling the arche platform for compile testing showed a harmless
> warning with CONFIG_PM=n:
>
> drivers/staging/greybus/arche-platform.c:632:12: error: 'arche_platform_resume' defined but not used [-Werror=unused-function]
> drivers/staging/greybus/arche-platform.c:618:12: error: 'arche_platform_suspend' defined but not used [-Werror=unused-function]
>
> This marks the functions as __maybe_unused to shut up the warnings.
>
> Fixes: 2eccd4aa19fc ("staging: greybus: enable compile testing of arche driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Johan Hovold <johan@kernel.org>
Thanks for fixing this.
Johan
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] staging: greybus: mark PM functions as __maybe_unused Arnd Bergmann <arnd@arndb.de> - 2017-05-18 15:30 +0200
Re: [PATCH] staging: greybus: mark PM functions as __maybe_unused Johan Hovold <johan@kernel.org> - 2017-05-18 15:40 +0200
Re: [greybus-dev] [PATCH] staging: greybus: mark PM functions as __maybe_unused Viresh Kumar <viresh.kumar@linaro.org> - 2017-05-18 16:20 +0200
Re: [greybus-dev] [PATCH] staging: greybus: mark PM functions as __maybe_unused Arnd Bergmann <arnd@arndb.de> - 2017-05-18 17:00 +0200
Re: [greybus-dev] [PATCH] staging: greybus: mark PM functions as __maybe_unused Viresh Kumar <viresh.kumar@linaro.org> - 2017-05-19 05:50 +0200
Re: [greybus-dev] [PATCH] staging: greybus: mark PM functions as __maybe_unused Arnd Bergmann <arnd@arndb.de> - 2017-05-19 09:00 +0200
csiph-web