mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Cocci spatch "pool_zalloc-simple" - v5.2-rc1
@ 2019-05-29 20:21 Thomas Meyer
  2019-05-29 20:21 ` [PATCH] scsi: lpfc: Use *_pool_zalloc rather than *_pool_alloc Thomas Meyer
  2019-05-29 20:21 ` [PATCH] scsi: pmcraid: " Thomas Meyer
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Meyer @ 2019-05-29 20:21 UTC (permalink / raw)
  To: linux-kernel

Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0.

Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci"

Run against version v5.2-rc1

P.S. If you find this email unwanted, set up a procmail rule junking on
the header:

X-Patch: Cocci

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-14  8:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-29 20:21 Cocci spatch "pool_zalloc-simple" - v5.2-rc1 Thomas Meyer
2019-05-29 20:21 ` [PATCH] scsi: lpfc: Use *_pool_zalloc rather than *_pool_alloc Thomas Meyer
2019-05-30  0:23   ` James Smart
2019-05-30  2:06   ` Martin K. Petersen
2019-05-29 20:21 ` [PATCH] scsi: pmcraid: " Thomas Meyer
2019-11-03 16:05   ` Markus Elfring
2019-11-14  8:56     ` Gomonovych, Vasyl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome