[PATCH 1/5] drm/sysfs: Constify 'struct bin_attribute'

Andi Shyti andi.shyti at linux.intel.com
Mon Feb 10 17:11:44 UTC 2025


Hi Thomas,

On Mon, Dec 16, 2024 at 12:34:47PM +0100, 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 at weissschuh.net>

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>

Thanks,
Andi


More information about the dri-devel mailing list