[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200420.122326.1497522059061965797.davem@davemloft.net>
Date: Mon, 20 Apr 2020 12:23:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: aishwaryarj100@...il.com
Cc: aelior@...vell.com, GR-everest-linux-l2@...vell.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: qed: Remove unneeded cast from memory allocation
From: Aishwarya Ramakrishnan <aishwaryarj100@...il.com>
Date: Sun, 19 Apr 2020 21:59:17 +0530
> Remove casting the values returned by memory allocation function.
>
> Coccinelle emits WARNING: casting value returned by memory allocation
> function to struct pointer is useless.
>
> This issue was detected by using the Coccinelle.
>
> Signed-off-by: Aishwarya Ramakrishnan <aishwaryarj100@...il.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists