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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251207153653.1abde6d3@jic23-huawei>
Date: Sun, 7 Dec 2025 15:36:53 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Francesco Lavra <flavra@...libre.com>
Cc: Lorenzo Bianconi <lorenzo@...nel.org>, David Lechner
 <dlechner@...libre.com>, Nuno Sá <nuno.sa@...log.com>, Andy
 Shevchenko <andy@...nel.org>, linux-iio@...r.kernel.org,
 linux-kernel@...r.kernel.org, Andy Shevchenko <andriy.shevchenko@...el.com>
Subject: Re: [PATCH v4 8/9] iio: imu: st_lsm6dsx: add event spec parameter
 to iio_chan_spec initializer

On Mon,  1 Dec 2025 11:00:17 +0100
Francesco Lavra <flavra@...libre.com> wrote:

> In preparation for adding support for more event sources, add to the
> ST_LSM6DSX_CHANNEL_ACC() iio_chan_spec initializer macro an iio_event_spec
> array argument, so that this macro can be used with different arrays by
> sensors that support different event sources; change the st_lsm6dsx_event
> struct declaration to an array (renamed as st_lsm6dsx_ev_motion) so that it
> can be passed to the macro (and opportunistically move it from the header
> file where it does not belong to the C file where it is used).
> In addition, remove from this macro the channel type parameter and
> hard-code IIO_ACCEL in the macro definition, since all callers use
> IIO_ACCEL as channel type argument.
> 
> Signed-off-by: Francesco Lavra <flavra@...libre.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@...el.com>
Applied.

Thanks,
J

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ