lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251109145918.3dad4862@jic23-huawei>
Date: Sun, 9 Nov 2025 14:59:18 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Jonathan Cameron <Jonathan.Cameron@...wei.com>,
 linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org, Jyoti Bhayana
 <jbhayana@...gle.com>, David Lechner <dlechner@...libre.com>, Nuno
 Sá <nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>
Subject: Re: [PATCH v2 1/1] iio: common: scmi_sensors: Get rid of
 const_ilog2()

On Mon,  3 Nov 2025 09:29:11 +0100
Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:

> Fisrt of all, const_ilog2() was a workaround of some sparse issue,
> which was never appeared in the C functions. Second, the calls here
> are done against constants and work with a bit of luck. Replace
> this altogether by a pre-calculated simple integer constant.
> Amend a comment to give a hint where it comes from.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Applied.

thanks,

J

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ