trusted-keys: kzalloc and other cleanup
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 13 Dec 2010 21:53:11 +0000 (16:53 -0500)
committerJames Morris <jmorris@namei.org>
Wed, 15 Dec 2010 06:44:27 +0000 (11:44 +0530)
commit1bdbb4024c309e470711b434a24fb356fc92edea
tree129f4136a53e0133fcdff81065f2e15fb4aac374
parentbc5e0af0b36b6cc9de301074426c279fc9b72675
trusted-keys: kzalloc and other cleanup

Cleanup based on David Howells suggestions:
- replace kzalloc, where possible, with kmalloc
- revert 'const unsigned int' definitions to 'unsigned int'

Signed-off-by: David Safford <safford@watson.ibm.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/keys/trusted_defined.c