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

Sven Peter sven at svenpeter.dev
Mon Jul 18 09:00:41 PDT 2022


On Mon, Jul 18, 2022, at 07: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: Sven Peter <sven at svenpeter.dev>

makes sense, thanks!


Sven




More information about the Linux-nvme mailing list