android_kernel_xiaomi_sm8350/drivers/scsi/pm8001
Julia Lawall 3dbf6c0012 [SCSI] pm8001: Use kzalloc for allocating only one thing
Use kzalloc rather than kcalloc(1,...)

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
@@

- kcalloc(1,
+ kzalloc(
          ...)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by:Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-01-18 10:48:13 -06:00
..
Makefile
pm8001_chips.h
pm8001_ctl.c
pm8001_ctl.h [SCSI] pm8001: enable read HBA SAS address from VPD 2009-12-10 10:09:23 -06:00
pm8001_defs.h
pm8001_hwi.c [SCSI] pm8001: misc code cleanup 2009-12-10 10:10:56 -06:00
pm8001_hwi.h [SCSI] pm8001: fix endian issues with SAS address 2009-12-10 10:02:22 -06:00
pm8001_init.c [SCSI] pm8001: Use kzalloc for allocating only one thing 2010-01-18 10:48:13 -06:00
pm8001_sas.c [SCSI] pm8001: misc code cleanup 2009-12-10 10:10:56 -06:00
pm8001_sas.h [SCSI] pm8001: misc code cleanup 2009-12-10 10:10:56 -06:00