diff options
author | Qian Cai <cai@lca.pw> | 2019-07-16 16:27:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-16 19:23:22 -0700 |
commit | c296d4dc13aefe96792538a949996b8938f28f13 (patch) | |
tree | 5b2f4f6fd98e6e5286f749e0aa639cf9c35054cd /include/asm-generic/checksum.h | |
parent | 3a7f0adfe7c27cdaf6dc3456226a430398732e2c (diff) | |
download | linux-c296d4dc13aefe96792538a949996b8938f28f13.tar.bz2 |
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/1562594592-15228-1-git-send-email-cai@lca.pw
Signed-off-by: Qian Cai <cai@lca.pw>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/checksum.h')
0 files changed, 0 insertions, 0 deletions