aic7xxx: replace kmalloc/memset by kzalloc
authorMichael Opdenacker <michael.opdenacker@free-electrons.com>
Fri, 27 Mar 2015 00:51:46 +0000 (17:51 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 9 Apr 2015 20:22:10 +0000 (13:22 -0700)
commit114fc1d9a8cc7e8eb34fb3896d908992dac09b58
tree3af8f970f587243b8f3bd180b2b56cd4ce71d5d9
parentcff549e4860fcdea6b22510defdc8c8a0f82455a
aic7xxx: replace kmalloc/memset by kzalloc

This replaces kmalloc + memset by a call to kzalloc

This also fixes one checkpatch.pl issue in the process.

This improvement was suggested by "make coccicheck"

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/aic7xxx/aic79xx_core.c
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic7xxx_core.c
drivers/scsi/aic7xxx/aic7xxx_osm.c