commit | 7249db2c281ac688977ecc6862cdee9969d310e2 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Tue Apr 29 01:01:34 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 29 08:06:17 2008 -0700 |
tree | 7d0c42af5c2cb3724fd18aa3aff8de3c827bfe77 | |
parent | fdb89bce6c9ccb17dae13ec43a25d2fdd405233f [diff] |
keys: make key_serial() a function if CONFIG_KEYS=y Make key_serial() an inline function rather than a macro if CONFIG_KEYS=y. This prevents double evaluation of the key pointer and also provides better type checking. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>