From: David Miller <davem@davemloft.net>
To: amitoj1606@gmail.com
Cc: derek.chickles@caviumnetworks.com,
satananda.burla@caviumnetworks.com,
felix.manlunas@caviumnetworks.com,
raghu.vatsavayi@caviumnetworks.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, julia.lawall@lip6.fr
Subject: Re: [PATCH] net: cavium: liquidio: Use vzalloc instead of vmalloc
Date: Wed, 22 Jun 2016 16:20:13 -0400 (EDT) [thread overview]
Message-ID: <20160622.162013.1679523707328434467.davem@davemloft.net> (raw)
In-Reply-To: <20160618065320.GA1906@amitoj-Inspiron-3542>
From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Date: Sat, 18 Jun 2016 12:23:20 +0530
> vzalloc combines vmalloc and memset 0.
>
> The Coccinelle semantic patch used to make this change is as follows:
> @@
> type T;
> T *d;
> expression e;
> statement S;
> @@
>
> d =
> - vmalloc
> + vzalloc
> (...);
> if (!d) S
> - memset(d, 0, sizeof(T));
>
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
This dos not apply cleanly to net-next.
prev parent reply other threads:[~2016-06-22 20:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-18 6:53 [PATCH] net: cavium: liquidio: Use vzalloc instead of vmalloc Amitoj Kaur Chawla
2016-06-22 20:20 ` 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=20160622.162013.1679523707328434467.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=amitoj1606@gmail.com \
--cc=derek.chickles@caviumnetworks.com \
--cc=felix.manlunas@caviumnetworks.com \
--cc=julia.lawall@lip6.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=raghu.vatsavayi@caviumnetworks.com \
--cc=satananda.burla@caviumnetworks.com \
/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