From: David Howells Date: Tue, 29 Apr 2008 08:01:34 +0000 (-0700) Subject: keys: make key_serial() a function if CONFIG_KEYS=y X-Git-Tag: v2.6.26-rc1~500 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7249db2c281ac688977ecc6862cdee9969d310e2;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed