Skip to content

Commit c43a6ff

Browse files
committed
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
2 parents 792fc92 + fadb74f commit c43a6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/module/decompress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ static ssize_t module_zstd_decompress(struct load_info *info,
257257
do {
258258
struct page *page = module_get_next_page(info);
259259

260-
if (!IS_ERR(page)) {
260+
if (IS_ERR(page)) {
261261
retval = PTR_ERR(page);
262262
goto out;
263263
}

0 commit comments

Comments
 (0)