[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aGVIBVsFPcVw3lN6@smile.fi.intel.com>
Date: Wed, 2 Jul 2025 17:53:57 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: David Lechner <dlechner@...libre.com>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>,
Nuno Sá <nuno.sa@...log.com>,
Robert Budai <robert.budai@...log.com>,
Andy Shevchenko <andy@...nel.org>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: imu: adis16550: rework clock range test
On Wed, Jul 02, 2025 at 09:27:45AM -0500, David Lechner wrote:
> Rework the clock rate range test to test if sync_mode_data != NULL
> instead of testing if the for loop index variable. This makes it easier
> for static analyzers to see that we aren't using an uninitialized
> sync_mode_data [1].
But at the same time it makes it not to be the usual pattern.,,
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists