[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y21GWE/AGbr2pmjm@google.com>
Date: Thu, 10 Nov 2022 10:43:36 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Miaoqian Lin <linmq006@...il.com>
Cc: Luis Chamberlain <mcgrof@...nel.org>,
linux-modules@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] module: Fix NULL vs IS_ERR checking for
module_get_next_page
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 <linmq006@...il.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
Thank you for spotting this.
--
Dmitry
Powered by blists - more mailing lists