Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1737582

Re: [PATCH 3/6] scsi: lpfc: Cocci spatch "pool_zalloc-simple"

From James Smart <james.smart@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/6] scsi: lpfc: Cocci spatch "pool_zalloc-simple"
Date 2017-09-22 17:30 +0200
Message-ID <usy3T-7Hh-19@gated-at.bofh.it> (permalink)
References <us39M-5A5-3@gated-at.bofh.it> <us39M-5A5-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 9/20/2017 11:15 PM, Thomas Meyer wrote:
> Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0.
> Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci"
>
> Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
> ---
>
>

Looks good. Thanks.

Signed-off-by: James Smart <james.smart@broadcom.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/6] scsi: lpfc: Cocci spatch "pool_zalloc-simple" Thomas Meyer <thomas@m3y3r.de> - 2017-09-21 08:30 +0200
  Re: [PATCH 3/6] scsi: lpfc: Cocci spatch "pool_zalloc-simple" James Smart <james.smart@broadcom.com> - 2017-09-22 17:30 +0200
  Re: [PATCH 3/6] scsi: lpfc: Cocci spatch "pool_zalloc-simple" "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-09-26 01:10 +0200

csiph-web