aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2023-06-01 14:23:31 -0700
committerLuis Chamberlain <[email protected]>2023-06-01 14:36:46 -0700
commitfadb74f9f2f609238070c7ca1b04933dc9400e4a (patch)
tree9f93bf862f5c7a460cc947b1e0dba20f45a70603 /tools/testing/selftests/net/lib/py/utils.py
parentdb3e33dd8bd956f165436afdbdbf1c653fb3c8e6 (diff)
module/decompress: Fix error checking on zstd decompression
While implementing support for in-kernel decompression in kmod, finit_module() was returning a very suspicious value: finit_module(3, "", MODULE_INIT_COMPRESSED_FILE) = 18446744072717407296 It turns out the check for module_get_next_page() failing is wrong, and hence the decompression was not really taking place. Invert the condition to fix it. Fixes: 169a58ad824d ("module/decompress: Support zstd in-kernel decompression") Cc: [email protected] Cc: Luis Chamberlain <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Stephen Boyd <[email protected]> Signed-off-by: Lucas De Marchi <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions