diff options
author | 2020-05-06 14:16:59 +0800 | |
---|---|---|
committer | 2020-05-06 14:01:44 -0700 | |
commit | 57829ea46875770c919ae491dcabf4e2aa5cb385 (patch) | |
tree | d8a7d8d45029980eb376396197652e0f6f51d44a /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (diff) | |
download | wireguard-linux-57829ea46875770c919ae491dcabf4e2aa5cb385.tar.xz wireguard-linux-57829ea46875770c919ae491dcabf4e2aa5cb385.zip |
sparc: mm: return true,false in kern_addr_valid()
This function's return type is bool and returns both true/false and 0/1.
This fixes the following coccicheck warning:
arch/sparc/mm/init_64.c:1652:9-10: WARNING: return of 0/1 in function
'kern_addr_valid' with return type bool
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions