From: Thomas Meyer <thomas@m3y3r.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] Cocci spatch "kzalloc-simple" - v3.11-7547-g44598f9
Date: Thu, 19 Sep 2013 23:45:46 +0200 [thread overview]
Message-ID: <1379604510863-816646221-0-diffsplit-thomas@m3y3r.de> (raw)
Use kzalloc rather than kmalloc followed by memset with 0.
Found by coccinelle spatch "api/alloc/kzalloc-simple.cocci"
Run against version v3.11-7547-g44598f9
Let me know when you as a maintainer are not interested in these kind of patches.
I can exclude you by path; all cocci findings in e.g. "drivers/scsi" will never
be reported again by this semi-automatic cocci program runs.
next reply other threads:[~2013-09-19 22:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-19 21:45 Thomas Meyer [this message]
2013-09-19 21:45 ` [PATCH 1/2] NVMe: Cocci spatch "kzalloc-simple" Thomas Meyer
2013-09-19 22:25 ` Verma, Vishal L
2013-09-19 22:29 ` Verma, Vishal L
2013-09-19 21:45 ` [PATCH 2/2] [SCSI] aic7xxx: " Thomas Meyer
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=1379604510863-816646221-0-diffsplit-thomas@m3y3r.de \
--to=thomas@m3y3r.de \
--cc=linux-kernel@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®