diff options
author | Linus Torvalds | 2023-06-01 20:48:16 -0400 |
---|---|---|
committer | Linus Torvalds | 2023-06-01 20:48:16 -0400 |
commit | c43a6ff9f93f230cc0f448ebb5d86d277ad7771e (patch) | |
tree | 3aadbf7534d2d56cffac754be5f7400a24b36d92 /kernel | |
parent | 792fc9214036633f2c26fe551cd26d5d7abdecfb (diff) | |
parent | fadb74f9f2f609238070c7ca1b04933dc9400e4a (diff) |
Merge tag 'modules-6.4-rc5-second-pull' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux
Pull modules fix from Luis Chamberlain:
"A zstd fix by lucas as he tested zstd decompression support"
* tag 'modules-6.4-rc5-second-pull' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
module/decompress: Fix error checking on zstd decompression
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/module/decompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module/decompress.c b/kernel/module/decompress.c index e97232b125eb..8a5d6d63b06c 100644 --- a/kernel/module/decompress.c +++ b/kernel/module/decompress.c @@ -257,7 +257,7 @@ static ssize_t module_zstd_decompress(struct load_info *info, do { struct page *page = module_get_next_page(info); - if (!IS_ERR(page)) { + if (IS_ERR(page)) { retval = PTR_ERR(page); goto out; } |