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: <64181fc9-4795-4c5b-97de-a9482eea4bf4@baylibre.com>
Date: Mon, 15 Dec 2025 10:41:04 -0600
From: David Lechner <dlechner@...libre.com>
To: Fiona Klute <fiona.klute@....de>, Roan van Dijk <roan@...tonic.nl>,
 linux-iio@...r.kernel.org
Cc: Jonathan Cameron <jic23@...nel.org>, Nuno Sá
 <nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: chemical: scd4x: fix reported channel endianness

On 12/13/25 10:32 AM, Fiona Klute wrote:
> The driver converts values read from the sensor from BE to CPU
> endianness in scd4x_read_meas(). The result is then pushed into the
> buffer in scd4x_trigger_handler(), so on LE architectures parsing the
> buffer using the reported BE type gave wrong results.
> 
> scd4x_read_raw() which provides sysfs *_raw values is not affected, it
> used the values returned by scd4x_read_meas() without further
> conversion.
> 
> Fixes: 49d22b695cbb6 ("drivers: iio: chemical: Add support for Sensirion SCD4x CO2 sensor")
> Signed-off-by: Fiona Klute <fiona.klute@....de>
> ---
Reviewed-by: David Lechner <dlechner@...libre.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ