[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200722.172912.135195129615704553.davem@davemloft.net>
Date: Wed, 22 Jul 2020 17:29:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wanghai38@...wei.com
Cc: aelior@...vell.com, GR-everest-linux-l2@...vell.com,
kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: qed: Remove unneeded cast from memory
allocation
From: Wang Hai <wanghai38@...wei.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@...wei.com>
Applied, thank you.
Powered by blists - more mailing lists