[Linux-kernel-mentees] [PATCH] drivers: net: qlogic: apply alloc_cast.cocci to qlogic/qed/qed_roce.c
David Miller
davem at davemloft.net
Thu Dec 5 01:08:46 UTC 2019
From: Jaskaran Singh <jaskaransingh7654321 at gmail.com>
Date: Wed, 4 Dec 2019 17:10:13 +0530
> coccicheck reports that qlogic/qed/qed_roce.c can be patched with the
> semantic patch alloc_cast.cocci. The casts on the function
> dma_alloc_coherent can be removed. Apply the semantic patch and perform
> formatting changes as required.
>
> Signed-off-by: Jaskaran Singh <jaskaransingh7654321 at gmail.com>
This is a cleanup and therefore net-next material.
net-next is closed, please resubmit this when the net-next tree is
open again.
Thank you.
More information about the Linux-kernel-mentees
mailing list