[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200420.122141.2220361049378373139.davem@davemloft.net>
Date: Mon, 20 Apr 2020 12:21:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: aishwaryarj100@...il.com
Cc: hkallweit1@...il.com, kuba@...nel.org, mst@...hat.com,
mhabets@...arflare.com, jonathan.lemon@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: sun: Remove unneeded cast from memory allocation
From: Aishwarya Ramakrishnan <aishwaryarj100@...il.com>
Date: Sun, 19 Apr 2020 21:14:43 +0530
> Remove casting the values returned by memory allocation function.
>
> Coccinelle emits WARNING: casting value returned by memory allocation
> function to (struct cas_init_block *) is useless.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Aishwarya Ramakrishnan <aishwaryarj100@...il.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists