[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZWzRp9xP66plWt1Z@google.com>
Date: Sun, 3 Dec 2023 19:06:15 +0000
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Haoran Liu <liuhaoran14@....com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipaq-micro-keys: Add error handling for devm_kmemdup
On Sun, Dec 03, 2023 at 08:46:53AM -0800, Haoran Liu wrote:
> Check the return value of i2c_add_adapter. Static analysis revealed that
> the function did not properly handle potential failures of
> i2c_add_adapter, which could lead to partial initialization of the I2C
> adapter and unstable operation.
>
> Signed-off-by: Haoran Liu <liuhaoran14@....com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists