encrypted-keys: style and other cleanup
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 13 Dec 2010 21:53:13 +0000 (16:53 -0500)
committerJames Morris <jmorris@namei.org>
Wed, 15 Dec 2010 06:44:34 +0000 (11:44 +0530)
commit3b1826cebe1d534ec05417a29b9a9f82651a5cb5
tree38fc352e647df90c86a0b03722eff8f66b7eb607
parent1f35065a9e2573427ce3fd6c4a40b355c2ddfb92
encrypted-keys: style and other cleanup

Cleanup based on David Howells suggestions:
- use static const char arrays instead of #define
- rename init_sdesc to alloc_sdesc
- convert 'unsigned int' definitions to 'size_t'
- revert remaining 'const unsigned int' definitions to 'unsigned int'

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