As a simple fix, just print the correct map type.
Signed-off-by: Xiaozhou Liu
---
tools/testing/selftests/bpf/test_maps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/test_maps.c
b/tools/testing/selftests/bpf/test_maps.c
index 9c79ee017df3
when !CONFIG_ENABLE_MUST_CHECK) and noinline_for_stack
were once defined in __KERNEL__ only, but we believe that they can
be put into !__ASSEMBLY__ too.
Acked-by: Nick Desaulniers
Signed-off-by: Xiaozhou Liu
---
v3: move macros into !__ASSEMBLY__ too. (Miguel Ojeda)
v2: update
etc. used to be defined within
__KERNEL__ too. So just move these macros back into __KERNEL__.
v2: update commit message.
Signed-off-by: Xiaozhou Liu
---
include/linux/compiler_types.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/linux/compiler_types.h b/include/linux/compi
On Thu, Nov 29, 2018 at 11:42:11AM +0100, Miguel Ojeda wrote:
> Exactly, thanks a lot for clarifying it up (we should put this in the
> commit message, I would say). That also answers my question: it is
> clear everything should be back into __KERNEL__. The only worry is
> that the v4.19 release
re.
Fixes: a3f8a30f3f00 ("Compiler Attributes: use feature checks instead of
version checks")
Signed-off-by: Xiaozhou Liu
---
include/linux/compiler_types.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h
index 4a3f9c
re.
Fixes: a3f8a30f3f00 ("Compiler Attributes: use feature checks instead of
version checks")
Signed-off-by: Xiaozhou Liu
---
include/linux/compiler_types.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h
index 4a3f9c
6 matches
Mail list logo