diff options
author | 2022-11-10 06:58:34 +0400 | |
---|---|---|
committer | 2022-11-11 10:19:52 -0800 | |
commit | 45af1d7aae7d5520d2858f8517a1342646f015db (patch) | |
tree | 2fc9f6e6d293ce2a4cff43762f7997d06e8431e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kernel/params.c: defer most of param_sysfs_init() to late_initcall time (diff) | |
download | wireguard-linux-45af1d7aae7d5520d2858f8517a1342646f015db.tar.xz wireguard-linux-45af1d7aae7d5520d2858f8517a1342646f015db.zip |
module: Fix NULL vs IS_ERR checking for module_get_next_page
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: b1ae6dc41eaa ("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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions