[PATCH] nvme-apple: stop casting function pointer signatures

Hector Martin marcan at marcan.st
Sun Jul 31 00:15:55 PDT 2022


On 18/07/2022 14.05, Christoph Hellwig wrote:
> Casting function pointers breaks control flow enforcement and is
> generally a horrible coding style.
> 
> Add two wrapper to get rid of these casts.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Hector Martin <marcan at marcan.st>

Yeah, casting function pointers is evil.

- Hector



More information about the Linux-nvme mailing list