Re: [PATCH] scsi: aic79xx: Use __ro_after_init explicitly
From: Martin K. Petersen
Date: Thu Sep 15 2022 - 22:07:29 EST
Kees,
> ahd_linux_setup_iocell_info() intentionally writes to the const-marked
> aic79xx_iocell_info array, but is called during __init, so the
> location is actually writable at this point on most
> architectures. Annotate this explicitly with __ro_after_init to avoid
> static analysis confusion.
Applied to 6.1/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering