[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190701122658.03970c9f@canb.auug.org.au>
Date: Mon, 1 Jul 2019 12:26:58 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Boyang Yu <byu@...sta.com>
Subject: linux-next: build warning after merge of the hwmon-staging tree
Hi all,
After merging the hwmon-staging tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
drivers/hwmon/lm90.c: In function 'lm90_write_convrate':
drivers/hwmon/lm90.c:597:42: warning: 'config_stop' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (data->flags & LM90_PAUSE_FOR_CONFIG && config_orig != config_stop)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/hwmon/lm90.c:598:3: warning: 'config_orig' may be used uninitialized in this function [-Wmaybe-uninitialized]
i2c_smbus_write_byte_data(client, LM90_REG_W_CONFIG1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config_orig);
~~~~~~~~~~~~
Introduced by commit
479a503fa073 ("hwmon: (lm90) Fix max6658 sporadic wrong temperature reading")
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists