diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-19 15:56:01 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-19 17:12:38 +0100 |
commit | f24a70106dc1ad2a755b2d42f47cf1dcf24f0b27 (patch) | |
tree | c4bf83b3bc8127dfa33ca4a9ee0946a61c76e147 /arch | |
parent | riscv: lib: Check if output in asm goto supported (diff) | |
download | linux-f24a70106dc1ad2a755b2d42f47cf1dcf24f0b27.tar.xz linux-f24a70106dc1ad2a755b2d42f47cf1dcf24f0b27.zip |
lib: checksum: Fix build with CONFIG_NET=n
The generic ipv6 checksums are only defined with CONFIG_NET=y, so gate
the test as well.
Fixes: 6f4c45cbcb00 ("kunit: Add tests for csum_ipv6_magic and ip_fast_csum")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401192143.jLdjbIy3-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202401192357.WU4nPRdN-lkp@intel.com/
Reviewed-By: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/20240119145600.3093-2-palmer@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions