]> Git Repo - linux.git/commit
asm-generic: fix a compilation warning
authorQian Cai <[email protected]>
Tue, 16 Jul 2019 23:27:06 +0000 (16:27 -0700)
committerLinus Torvalds <[email protected]>
Wed, 17 Jul 2019 02:23:22 +0000 (19:23 -0700)
commitc296d4dc13aefe96792538a949996b8938f28f13
tree5b2f4f6fd98e6e5286f749e0aa639cf9c35054cd
parent3a7f0adfe7c27cdaf6dc3456226a430398732e2c
asm-generic: fix a compilation warning

Fix this compilation warning on x86 by making flush_cache_vmap() inline.

  lib/ioremap.c: In function 'ioremap_page_range':
  lib/ioremap.c:214:16: warning: variable 'start' set but not used [-Wunused-but-set-variable]
    unsigned long start;
                  ^~~~~

While at it, convert all other similar functions to inline for
consistency.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Qian Cai <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/asm-generic/cacheflush.h
This page took 0.056012 seconds and 4 git commands to generate.