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: <20240623111500.3c8162e3@jic23-huawei>
Date: Sun, 23 Jun 2024 11:15:00 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Mark Brown <broonie@...nel.org>, Michael Hennerich
 <michael.hennerich@...log.com>, Nuno Sá <nuno.sa@...log.com>,
 Marcelo Schmitt <marcelo.schmitt@...log.com>, Jonathan Corbet
 <corbet@....net>, linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
 linux-spi@...r.kernel.org, linux-iio@...r.kernel.org
Subject: Re: [PATCH 0/3] spi: add devm_spi_optimize_message() helper

On Fri, 21 Jun 2024 15:51:29 -0500
David Lechner <dlechner@...libre.com> wrote:

> In the IIO subsystem, we are finding that it is common to call
> spi_optimize_message() during driver probe since the SPI message
> doesn't change for the lifetime of the driver. This patch adds a
> devm_spi_optimize_message() helper to simplify this common pattern.
Looks good to me.  Obviously I need Mark's ack or an immutable
branch to pick these up though.

Thanks

Jonathan

> 
> ---
> David Lechner (3):
>       Documentation: devres: add missing SPI helpers
>       spi: add devm_spi_optimize_message() helper
>       iio: adc: ad7944: use devm_spi_optimize_message()
> 
>  Documentation/driver-api/driver-model/devres.rst |  3 +++
>  drivers/iio/adc/ad7944.c                         | 26 +++--------------------
>  drivers/spi/spi.c                                | 27 ++++++++++++++++++++++++
>  include/linux/spi/spi.h                          |  2 ++
>  4 files changed, 35 insertions(+), 23 deletions(-)
> ---
> base-commit: 0ca645ab5b1528666f6662a0e620140355b5aea3
> change-id: 20240621-devm_spi_optimize_message-ebbde029dd7a


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ