[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aHCqoCNhXPqdKZId@smile.fi.intel.com>
Date: Fri, 11 Jul 2025 09:09:36 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: kernel test robot <lkp@...el.com>
Cc: Remi Buisson via B4 Relay <devnull+remi.buisson.tdk.com@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, Remi Buisson <remi.buisson@....com>
Subject: Re: [PATCH v2 6/8] iio: imu: inv_icm45600: add SPI driver for
inv_icm45600 driver
On Fri, Jul 11, 2025 at 12:55:25PM +0800, kernel test robot wrote:
> Hi Remi,
>
> drivers/iio/imu/inv_icm45600/inv_icm45600_accel.c:100:20: note: initialize the variable 'sleep' to silence this warning
> 100 | unsigned int sleep;
> | ^
> | = 0
For the record, this is usually bad advice by the compiler. You need to either
check for errors, or do something else.
> drivers/iio/imu/inv_icm45600/inv_icm45600_gyro.c:100:20: note: initialize the variable 'sleep' to silence this warning
> 100 | unsigned int sleep;
> | ^
> | = 0
Ditto.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists