]> 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)
commit747243aebbf58177a4c5662d5afee2faec6d5884
tree3af8f970f587243b8f3bd180b2b56cd4ce71d5d9
parentcdd619addc26fe8b39e2181f6677dd4abee3d597
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