Message ID | 1488413706-9739-11-git-send-email-labbott@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 03/02/2017 01:15 AM, Laura Abbott wrote: > set_memory_* functions have moved to set_memory.h. Switch to this > explicitly. > > Signed-off-by: Laura Abbott <labbott@redhat.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Hi Laura,
[auto build test ERROR on linus/master]
[also build test ERROR on next-20170303]
[cannot apply to tip/x86/core drm/drm-next v4.10]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Laura-Abbott/set_memory_-functions-header-refactor/20170305-062939
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
arch/arm/net/bpf_jit_32.c: In function 'bpf_jit_compile':
>> arch/arm/net/bpf_jit_32.c:1051:2: error: implicit declaration of function 'flush_icache_range' [-Werror=implicit-function-declaration]
flush_icache_range((u32)header, (u32)(ctx.target + ctx.idx));
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/flush_icache_range +1051 arch/arm/net/bpf_jit_32.c
ddecdfce Mircea Gherzan 2012-03-16 1035 goto out;
ddecdfce Mircea Gherzan 2012-03-16 1036
55309dd3 Daniel Borkmann 2014-09-08 1037 ctx.target = (u32 *) target_ptr;
ddecdfce Mircea Gherzan 2012-03-16 1038 ctx.idx = 0;
55309dd3 Daniel Borkmann 2014-09-08 1039
ddecdfce Mircea Gherzan 2012-03-16 1040 build_prologue(&ctx);
0b59d880 Nicolas Schichan 2015-05-07 1041 if (build_body(&ctx) < 0) {
0b59d880 Nicolas Schichan 2015-05-07 1042 #if __LINUX_ARM_ARCH__ < 7
0b59d880 Nicolas Schichan 2015-05-07 1043 if (ctx.imm_count)
0b59d880 Nicolas Schichan 2015-05-07 1044 kfree(ctx.imms);
0b59d880 Nicolas Schichan 2015-05-07 1045 #endif
0b59d880 Nicolas Schichan 2015-05-07 1046 bpf_jit_binary_free(header);
0b59d880 Nicolas Schichan 2015-05-07 1047 goto out;
0b59d880 Nicolas Schichan 2015-05-07 1048 }
ddecdfce Mircea Gherzan 2012-03-16 1049 build_epilogue(&ctx);
ddecdfce Mircea Gherzan 2012-03-16 1050
ebaef649 Daniel Borkmann 2015-11-14 @1051 flush_icache_range((u32)header, (u32)(ctx.target + ctx.idx));
ddecdfce Mircea Gherzan 2012-03-16 1052
ddecdfce Mircea Gherzan 2012-03-16 1053 #if __LINUX_ARM_ARCH__ < 7
ddecdfce Mircea Gherzan 2012-03-16 1054 if (ctx.imm_count)
ddecdfce Mircea Gherzan 2012-03-16 1055 kfree(ctx.imms);
ddecdfce Mircea Gherzan 2012-03-16 1056 #endif
ddecdfce Mircea Gherzan 2012-03-16 1057
ddecdfce Mircea Gherzan 2012-03-16 1058 if (bpf_jit_enable > 1)
79617801 Daniel Borkmann 2013-03-21 1059 /* there are 2 passes here */
:::::: The code at line 1051 was first introduced by commit
:::::: ebaef649c26b44ff28114b452fd067a270ca7f02 bpf, arm: start flushing icache range from header
:::::: TO: Daniel Borkmann <daniel@iogearbox.net>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
diff --git a/include/linux/filter.h b/include/linux/filter.h index 0c167fd..c2b403f 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -18,7 +18,7 @@ #include <net/sch_generic.h> -#include <asm/cacheflush.h> +#include <asm/set_memory.h> #include <uapi/linux/filter.h> #include <uapi/linux/bpf.h>
set_memory_* functions have moved to set_memory.h. Switch to this explicitly. Signed-off-by: Laura Abbott <labbott@redhat.com> --- include/linux/filter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)