[PATCH] PCI: ls-gen4: Constify struct mobiveil_rp_ops

Krzysztof Wilczyński kw at linux.com
Mon Jun 24 18:07:50 PDT 2024


Hello,

> 'struct mobiveil_rp_ops' is not modified in this driver.
> 
> Constifying this structure moves some data to a read-only section, so
> increase overall security.

Applied to controller/layerscape, thank you!

[1/1] PCI: ls-gen4: Make struct mobiveil_rp_ops constant
      https://git.kernel.org/pci/pci/c/cd09a6ac85b9

	Krzysztof



More information about the linux-arm-kernel mailing list