commit | 3dbf6c0012d12473461b7485006db373e8192fa5 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Sat Dec 19 08:17:27 2009 +0100 |
committer | James Bottomley <James.Bottomley@suse.de> | Mon Jan 18 10:48:13 2010 -0600 |
tree | c6e1d68202a62dde01ffe140624193638e75db8b | |
parent | 4ffd005a4dedf536330756742595ec904f740f48 [diff] |
[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>