linux-stable/kernel/module
Miaoqian Lin 052172bb0e module: Fix NULL vs IS_ERR checking for module_get_next_page
[ Upstream commit 45af1d7aae ]

The module_get_next_page() function return error pointers on error
instead of NULL.
Use IS_ERR() to check the return value to fix this.

Fixes: b1ae6dc41e ("module: add in-kernel support for decompressing")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:25:57 +01:00
..
debug_kmemleak.c
decompress.c module: Fix NULL vs IS_ERR checking for module_get_next_page 2022-12-31 13:25:57 +01:00
internal.h module: Modify module_flags() to accept show_state argument 2022-07-14 17:40:23 -07:00
kallsyms.c kallsyms: Make module_kallsyms_on_each_symbol generally available 2022-12-21 17:41:11 +01:00
Kconfig module: Move module's Kconfig items in kernel/module/ 2022-07-12 12:07:25 -07:00
kdb.c
livepatch.c
main.c module: kunit: Load .kunit_test_suites section when CONFIG_KUNIT=m 2022-08-15 13:51:07 -06:00
Makefile
procfs.c module: Modify module_flags() to accept show_state argument 2022-07-14 17:40:23 -07:00
signing.c
strict_rwx.c
sysfs.c
tracking.c module: tracking: Keep a record of tainted unloaded modules only 2022-10-21 12:39:02 +02:00
tree_lookup.c
version.c