Re: [PATCH 3/4] PCI/P2PDMA: Constify 'struct bin_attribute'
From: Logan Gunthorpe
Date: Mon Dec 02 2024 - 16:03:20 EST
On 2024-12-02 12:02, Thomas Weißschuh wrote:
> The sysfs core now allows instances of 'struct bin_attribute' to be
> moved into read-only memory. Make use of that to protect them against
> accidental or malicious modifications.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Looks good to me, thanks!
Logan Gunthorpe <logang@xxxxxxxxxxxx>