Re: [PATCH] drivers: net: qlogic: apply alloc_cast.cocci to qlogic/qed/qed_roce.c

From: David Miller
Date: Wed Dec 04 2019 - 20:08:58 EST


From: Jaskaran Singh <jaskaransingh7654321@xxxxxxxxx>
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@xxxxxxxxx>

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.