projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
[cascardo/linux.git]
/
include
/
linux
/
key.h
diff --git
a/include/linux/key.h
b/include/linux/key.h
index
bfc014c
..
5253471
100644
(file)
--- a/
include/linux/key.h
+++ b/
include/linux/key.h
@@
-271,7
+271,7
@@
extern int keyring_add_key(struct key *keyring,
extern struct key *key_lookup(key_serial_t id);
-static inline key_serial_t key_serial(struct key *key)
+static inline key_serial_t key_serial(
const
struct key *key)
{
return key ? key->serial : 0;
}