[PATCH v2 3/5] pci: set msi_domain_ops as __ro_after_init
Keith Busch
keith.busch at intel.com
Mon Feb 13 18:14:06 UTC 2017
On Fri, Feb 10, 2017 at 05:37:56PM -0800, Jess Frazelle wrote:
> Marked msi_domain_ops structs as __ro_after_init when called only during init.
> This protects the data structure from accidental corruption.
>
> Suggested-by: Kees Cook <keescook at chromium.org>
> Signed-off-by: Jess Frazelle <me at jessfraz.com>
>
> drivers/pci/host/pci-hyperv.c | 2 +-
> drivers/pci/host/vmd.c | 2 +-
Ok for vmd driver.
Acked-by: Keith Busch <keith.busch at intel.com>
> drivers/pci/msi.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
More information about the devel
mailing list