mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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: 169a58ad82 ("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]>