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


Groups > linux.kernel > #1255270

Re: [PATCH v2 1/2] scsi: lpfc: Use kzalloc instead of kmalloc

From "Matthew R. Ochs" <mrochs@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/2] scsi: lpfc: Use kzalloc instead of kmalloc
Date 2015-10-25 04:30 +0100
Message-ID <qnkam-3Af-3@gated-at.bofh.it> (permalink)
References <qn17H-1u4-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> On Oct 24, 2015, at 2:06 AM, Punit Vara <punitvara@gmail.com> wrote:
> 
> This patch is to the lpfc_els.c which resolves following warning
> reported by coccicheck:
> 
> WARNING: kzalloc should be used for rdp_context, instead of
> kmalloc/memset
> 
> Signed-off-by: Punit Vara <punitvara@gmail.com>

Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v2 1/2] scsi: lpfc: Use kzalloc instead of kmalloc Punit Vara <punitvara@gmail.com> - 2015-10-24 09:10 +0200
  Re: [PATCH v2 1/2] scsi: lpfc: Use kzalloc instead of kmalloc "Matthew R. Ochs" <mrochs@linux.vnet.ibm.com> - 2015-10-25 04:30 +0100

csiph-web