KEYS: Do some style cleanup in the key management code.
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Jan 2011 16:38:27 +0000 (16:38 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Jan 2011 22:59:29 +0000 (14:59 -0800)
commita8b17ed019bd40d3bfa20439d9c36a99f9be9180
treebeb3b08575aa01c7ebb24939b678d533b1f59adf
parent9093ba53b7f26dbb5210de1157769e59e34bbe23
KEYS: Do some style cleanup in the key management code.

Do a bit of a style clean up in the key management code.  No functional
changes.

Done using:

  perl -p -i -e 's!^/[*]*/\n!!' security/keys/*.c
  perl -p -i -e 's!} /[*] end [a-z0-9_]*[(][)] [*]/\n!}\n!' security/keys/*.c
  sed -i -s -e ": next" -e N -e 's/^\n[}]$/}/' -e t -e P -e 's/^.*\n//' -e "b next" security/keys/*.c

To remove /*****/ lines, remove comments on the closing brace of a
function to name the function and remove blank lines before the closing
brace of a function.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/keys/compat.c
security/keys/encrypted_defined.c
security/keys/key.c
security/keys/keyctl.c
security/keys/keyring.c
security/keys/permission.c
security/keys/proc.c
security/keys/process_keys.c
security/keys/request_key_auth.c
security/keys/user_defined.c