Content-Type: multipart/mixed; boundary="===============5293211061926152213==" MIME-Version: 1.0 From: Bjorn Andersson To: kbuild-all@lists.01.org Subject: Re: drivers/pinctrl/qcom/pinctrl-lpass-lpi.c:458 lpi_config_set() error: uninitialized symbol 'strength'. Date: Tue, 02 Mar 2021 10:53:52 -0600 Message-ID: In-Reply-To: List-Id: --===============5293211061926152213== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue 02 Mar 09:47 CST 2021, Linus Walleij wrote: > On Sat, Feb 27, 2021 at 10:22 AM Dan Carpenter wrote: > = > > New smatch warnings: > > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c:458 lpi_config_set() error: un= initialized symbol 'strength'. > > > > Old smatch warnings: > > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c:457 lpi_config_set() error: un= initialized symbol 'pullup'. > = > I don't think these are real problems, but maybe there is some way to exp= licitly > express that so that smatch knows as well? > = Perhaps I'm reading it wrong, but wouldn't a state that doesn't specify drive-strength or bias cause these properties to be written out as some undefined/uninitialized value? (I.e. isn't the report correct?) Regards, Bjorn --===============5293211061926152213==--