Re: [PATCH 2/2] software node: Fix use of potentially uninitialized variable
From: Sasha Levin
Date: Thu Aug 29 2019 - 09:50:26 EST
On Thu, Aug 29, 2019 at 04:21:16PM +0300, Heikki Krogerus wrote:
reported by smatch:
drivers/base/swnode.c:71 software_node_to_swnode() error: uninitialized symbol 'swnode'.
Could you describe the actual problem it fixes? Under what scenario
would this issue occur and how would it manifest?
We're not here to fix smatch warnings, we're here to fix bugs that
smatch warns us about :)
--
Thanks,
Sasha