]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8204f273f3284e1911570380b5ca7ce02d899b56
tree3af8f970f587243b8f3bd180b2b56cd4ce71d5d9
parent0f863c8947985ceff1cf10b31bf29c13776f5861
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