projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pkeys: Remove easily triggered WARN
[cascardo/linux.git]
/
include
/
linux
/
pkeys.h
diff --git
a/include/linux/pkeys.h
b/include/linux/pkeys.h
index
e4c08c1
..
a1bacf1
100644
(file)
--- a/
include/linux/pkeys.h
+++ b/
include/linux/pkeys.h
@@
-25,7
+25,6
@@
static inline int mm_pkey_alloc(struct mm_struct *mm)
static inline int mm_pkey_free(struct mm_struct *mm, int pkey)
{
- WARN_ONCE(1, "free of protection key when disabled");
return -EINVAL;
}