commit | e04085285b829dc922e78768a9abb390a8caed31 | [log] [tgz] |
---|---|---|
author | Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com> | Thu Mar 16 00:58:23 2017 -0600 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Apr 13 23:04:02 2017 -0400 |
tree | 65f049376fe128337a53046d2bfa05148127a2e6 | |
parent | 1dd0c0e4fd02dc5e5bfaf89bd4656aabe4ae3cb3 [diff] |
scsi: storvsc: Prefer kcalloc over kzalloc with multiply Use kcalloc for allocating an array instead of kzalloc with multiply, kcalloc is the preferred API. Found with checkpatch. Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>