Re: [PATCH] scsi: elx: libefc: Fix second parameter type in state callbacks

From: Martin K. Petersen
Date: Thu Nov 17 2022 - 13:30:57 EST


On Wed, 2 Nov 2022 09:19:06 -0700, Nathan Chancellor wrote:

> With clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG),
> indirect call targets are validated against the expected function
> pointer prototype to make sure the call target is valid to help mitigate
> ROP attacks. If they are not identical, there is a failure at run time,
> which manifests as either a kernel panic or thread getting killed. A
> proposed warning in clang aims to catch these at compile time, which
> reveals:
>
> [...]

Applied to 6.2/scsi-queue, thanks!

[1/1] scsi: elx: libefc: Fix second parameter type in state callbacks
https://git.kernel.org/mkp/scsi/c/3d75e766b58a

--
Martin K. Petersen Oracle Linux Engineering