Thread (6 messages) 6 messages, 3 authors, 2022-11-10

Re: [PATCH] module: Fix NULL vs IS_ERR checking for module_get_next_page

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-11-10 18:43:54
Also in: lkml

On Thu, Nov 10, 2022 at 06:58:34AM +0400, Miaoqian Lin wrote:
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 <redacted>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Thank you for spotting this.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help