From: David Miller <davem@davemloft.net>
To: aishwaryarj100@gmail.com
Cc: hkallweit1@gmail.com, kuba@kernel.org, mst@redhat.com,
mhabets@solarflare.com, jonathan.lemon@gmail.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: sun: Remove unneeded cast from memory allocation
Date: Mon, 20 Apr 2020 12:21:41 -0700 (PDT) [thread overview]
Message-ID: <20200420.122141.2220361049378373139.davem@davemloft.net> (raw)
In-Reply-To: <20200419154444.21977-1-aishwaryarj100@gmail.com>
From: Aishwarya Ramakrishnan <aishwaryarj100@gmail.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@gmail.com>
Applied to net-next, thanks.
prev parent reply other threads:[~2020-04-20 19:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 15:44 Aishwarya Ramakrishnan
2020-04-20 19:21 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200420.122141.2220361049378373139.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=aishwaryarj100@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=jonathan.lemon@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhabets@solarflare.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®