[PATCH 3/5] drm/i915: Constify 'struct bin_attribute'
Andi Shyti
andi.shyti at linux.intel.com
Mon Feb 10 17:14:21 UTC 2025
Hi Thomas,
On Mon, Dec 16, 2024 at 12:34:49PM +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