[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dfe54005-d897-494b-8566-7d18172c7dfa@sirena.org.uk>
Date: Mon, 18 Dec 2023 13:01:37 +0000
From: Mark Brown <broonie@...nel.org>
To: Karina Yankevich <k.yankevich@....ru>
Cc: Liam Girdwood <lgirdwood@...il.com>, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: Re: [PATCH] regulator: of: Remove redundant check in
of_get_regulation_constraints
On Mon, Dec 18, 2023 at 12:57:07PM +0300, Karina Yankevich wrote:
> The pointer 'suspend_state' cannot be NULL after the switch statement
> so remove the redundant check.
>
> Found by Linux Verification Center (linuxtesting.org) with the Svace static
> analysis tool.
You've provided no analysis which shows that this is the case, nor any
explanation as to why it matters.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists