Re: [PATCH 3/4] PCI/P2PDMA: Constify 'struct bin_attribute'

Logan Gunthorpe
2024-12-02T19:39:38Z

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@weissschuh.net>

Looks good to me, thanks!

Logan Gunthorpe <logang@deltatee.com>