[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165165782039.3475411.4505052280143077810.b4-ty@arm.com>
Date: Wed, 4 May 2022 10:50:49 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: Cristian Marussi <cristian.marussi@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Sudeep Holla <sudeep.holla@....com>,
Dan Carpenter <dan.carpenter@...cle.com>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] firmware: arm_scmi: Fix late checks on pointer dereference
On Tue, 3 May 2022 13:10:47 +0100, Cristian Marussi wrote:
> A few dereferences could happen before the iterator pointer argument was
> checked for NULL, causing the following smatch warnings:
>
> drivers/firmware/arm_scmi/driver.c:1214 scmi_iterator_run() warn: variable
> dereferenced before check 'i' (see line 1210)
>
> Fix by moving the checks early and dropping some unneeded local references.
>
> [...]
Applied to sudeep.holla/linux (for-next/scmi), thanks!
[1/1] firmware: arm_scmi: Fix late checks on pointer dereference
https://git.kernel.org/sudeep.holla/c/c7f8852d42
--
Regards,
Sudeep
Powered by blists - more mailing lists