diff options
author | 2022-02-15 13:11:42 -0800 | |
---|---|---|
committer | 2022-02-16 12:51:32 -0800 | |
commit | a8e8f851e8299703a005cf23dfb9ec854a2611e5 (patch) | |
tree | ba83971d5b8362610ac7f43bf41b70afdbad49d4 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | tty: n_tty: do not look ahead for EOL character past the end of the buffer (diff) | |
download | linux-dev-a8e8f851e8299703a005cf23dfb9ec854a2611e5.tar.xz linux-dev-a8e8f851e8299703a005cf23dfb9ec854a2611e5.zip |
module: fix building with sysfs disabled
Sysfs support might be disabled so we need to guard the code that
instantiates "compression" attribute with an #ifdef.
Fixes: b1ae6dc41eaa ("module: add in-kernel support for decompressing")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions