On Tue, 19 Feb 2019 18:28:30 + "Kani, Toshi" wrote:
> On Mon, 2019-02-18 at 13:57 +, YueHaibing wrote:
> > Fixes gcc '-Wunused-but-set-variable' warning:
> >
> > lib/ioremap.c: In function 'ioremap_page_range':
> > lib/ioremap.c:203:16: warning:
> > variable 'start' set but not used
On Mon, 2019-02-18 at 13:57 +, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> lib/ioremap.c: In function 'ioremap_page_range':
> lib/ioremap.c:203:16: warning:
> variable 'start' set but not used [-Wunused-but-set-variable]
>
> flush_cache_vmap may no need param, so
Fixes gcc '-Wunused-but-set-variable' warning:
lib/ioremap.c: In function 'ioremap_page_range':
lib/ioremap.c:203:16: warning:
variable 'start' set but not used [-Wunused-but-set-variable]
flush_cache_vmap may no need param, so add __maybe_unused fix this warning.
Signed-off-by: YueHaibing
3 matches
Mail list logo