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: <20dc90ea-eb05-4f8d-9e58-e9f8617ab2b4@linux.ibm.com>
Date: Tue, 27 Jan 2026 09:25:49 -0600
From: Eddie James <eajames@...ux.ibm.com>
To: Uwe Kleine-König <u.kleine-koenig@...libre.com>
Cc: Ninad Palsule <ninad@...ux.ibm.com>, linux-fsi@...ts.ozlabs.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 03/13] fsi: Provide thin wrappers around
 dev_[gs]et_data() for fsi devices


On 12/9/25 5:40 AM, Uwe Kleine-König wrote:
> Similar to wrappers for other subsystems provide inline functions for
> fsi devices to store driver data.


Acked-by: Eddie James <eajames@...ux.ibm.com>


>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...libre.com>
> ---
>   include/linux/fsi.h | 10 ++++++++++
>   1 file changed, 10 insertions(+)
>
> diff --git a/include/linux/fsi.h b/include/linux/fsi.h
> index adea1b432f2d..05be75869a69 100644
> --- a/include/linux/fsi.h
> +++ b/include/linux/fsi.h
> @@ -19,6 +19,16 @@ struct fsi_device {
>   	uint32_t		size;
>   };
>   
> +static inline void *fsi_get_drvdata(struct fsi_device *fsi_dev)
> +{
> +	return dev_get_drvdata(&fsi_dev->dev);
> +}
> +
> +static inline void fsi_set_drvdata(struct fsi_device *fsi_dev, void *data)
> +{
> +	dev_set_drvdata(&fsi_dev->dev, data);
> +}
> +
>   extern int fsi_device_read(struct fsi_device *dev, uint32_t addr,
>   		void *val, size_t size);
>   extern int fsi_device_write(struct fsi_device *dev, uint32_t addr,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ