Re: [PATCH v2 3/5] pci: set msi_domain_ops as __ro_after_init
From: Keith Busch
Date: Mon Feb 13 2017 - 13:04:59 EST
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@xxxxxxxxxxxx>
> Signed-off-by: Jess Frazelle <me@xxxxxxxxxxxx>
>
> drivers/pci/host/pci-hyperv.c | 2 +-
> drivers/pci/host/vmd.c | 2 +-
Ok for vmd driver.
Acked-by: Keith Busch <keith.busch@xxxxxxxxx>
> drivers/pci/msi.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)