Discussion:
[Cocci] [PATCH v2] Coccinelle: kzalloc-simple: Rename kzalloc-simple to zalloc-simple
Himanshu Jha
2018-01-13 20:26:58 UTC
Permalink
Rename kzalloc-simple to zalloc-simple since now the rule is not
specific to kzalloc function only, but also to many other zero memory
allocating functions specified in the rule.

Suggested-by: SF Markus Elfring <***@users.sourceforge.net>
Signed-off-by: Himanshu Jha <***@gmail.com>
---
v2:
-generated the patch using -M flag for renaming.
-Since Markus earlier worked on renaming this patch adding his name too
.../coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename scripts/coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} (100%)

diff --git a/scripts/coccinelle/api/alloc/kzalloc-simple.cocci b/scripts/coccinelle/api/alloc/zalloc-simple.cocci
similarity index 100%
rename from scripts/coccinelle/api/alloc/kzalloc-simple.cocci
rename to scripts/coccinelle/api/alloc/zalloc-simple.cocci
--
2.7.4
Julia Lawall
2018-01-14 09:00:14 UTC
Permalink
Post by Himanshu Jha
Rename kzalloc-simple to zalloc-simple since now the rule is not
specific to kzalloc function only, but also to many other zero memory
allocating functions specified in the rule.
Acked-by: Julia Lawall <***@lip6.fr>

Thanks.
Post by Himanshu Jha
---
-generated the patch using -M flag for renaming.
-Since Markus earlier worked on renaming this patch adding his name too
.../coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename scripts/coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} (100%)
diff --git a/scripts/coccinelle/api/alloc/kzalloc-simple.cocci b/scripts/coccinelle/api/alloc/zalloc-simple.cocci
similarity index 100%
rename from scripts/coccinelle/api/alloc/kzalloc-simple.cocci
rename to scripts/coccinelle/api/alloc/zalloc-simple.cocci
--
2.7.4
Masahiro Yamada
2018-01-16 14:35:22 UTC
Permalink
Post by Himanshu Jha
Rename kzalloc-simple to zalloc-simple since now the rule is not
specific to kzalloc function only, but also to many other zero memory
allocating functions specified in the rule.
---
-generated the patch using -M flag for renaming.
-Since Markus earlier worked on renaming this patch adding his name too
.../coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename scripts/coccinelle/api/alloc/{kzalloc-simple.cocci => zalloc-simple.cocci} (100%)
Applied to linux-kbuild/misc. Thanks!
--
Best Regards
Masahiro Yamada
Himanshu Jha
2018-01-17 14:11:32 UTC
Permalink
X-Spam-Report: Content analysis details: (5.5 points, 3.0 required)
pts rule name description
--- --------- -----------
1.0 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
[Blocked - see <http://www.spamcop.net/bl.shtml?103.46.193.14>]
3.3 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS
[103.46.193.14 listed in zen.spamhaus.org]
0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source
[103.46.193.14 listed in dnsbl.sorbs.net]
2.4 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no
trust [2607:f8b0:400e:c01:0:0:0:242 listed in] [list.dnswl.org]
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in
digit (muladavid69[at]gmail.com)
(himanshujha199640[at]gmail.com)
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
(aliskin.contact[at]gmail.com) (do-not-reply[at]yahoo.com)
(jeanphilippe.aumasson[at]gmail.com)
(rena.n.politi[at]gmail.com) (aliskin.contact[at]gmail.com)
(karine.lejeune44[at]gmail.com) (muladavid69[at]gmail.com)
(a_lofts[at]hotmail.ca) (rena.n.politi[at]gmail.com)
(vladimir.mreana[at]gmail.com) (lianzabal[at]gmail.com)
(gcarella228[at]gmail.com) (gianluca.micchi[at]gmail.com)
(salaheddine.elayoubi[at]orange.com)
(zakariaboussik[at]gmail.com) (khaled.bouattour[at]yahoo.fr)
(himanshujha199640[at]gmail.com)
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
X-Scanned-By: MIMEDefang 2.78 on 132.227.60.2
X-Scanned-By: MIMEDefang 2.78
Cc: Michal Marek <***@markovi.net>,
Nicolas Palix <***@imag.fr>, linux-***@vger.kernel.org,
Coccinelle <***@systeme.lip6.fr>
Subject: Re: [Cocci] [v2] Coccinelle: kzalloc-simple: Rename kzalloc-simple
to zalloc-simple
X-BeenThere: ***@systeme.lip6.fr
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <cocci.systeme.lip6.fr>
List-Unsubscribe: <https://systeme.lip6.fr/mailman/options/cocci>,
<mailto:cocci-***@systeme.lip6.fr?subject=unsubscribe>
List-Archive: <https://systeme.lip6.fr/pipermail/cocci>
List-Post: <mailto:***@systeme.lip6.fr>
List-Help: <mailto:cocci-***@systeme.lip6.fr?subject=help>
List-Subscribe: <https://systeme.lip6.fr/mailman/listinfo/cocci>,
<mailto:cocci-***@systeme.lip6.fr?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Post by Masahiro Yamada
Applied to linux-kbuild/misc.
How would you like to get a related document updated?
https://bottest.wiki.kernel.org/coccicheck#types_of_tests
Fixed.
--
Thanks
Himanshu Jha
Loading...