Messages in this thread | | | Date | Wed, 22 Jul 2020 17:29:12 -0700 (PDT) | Subject | Re: [PATCH net-next] net: qed: Remove unneeded cast from memory allocation | From | David Miller <> |
| |
From: Wang Hai <wanghai38@huawei.com> Date: Wed, 22 Jul 2020 10:10:27 +0800
> Remove casting the values returned by memory allocation function. > > Coccinelle emits WARNING: casting value returned by memory allocation > unction to (struct roce_destroy_qp_req_output_params *) is useless. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Wang Hai <wanghai38@huawei.com>
Applied, thank you.
| |