projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx4_core: Adjustments to SET_PORT for IB SR-IOV
[cascardo/linux.git]
/
mm
/
mempolicy.c
diff --git
a/mm/mempolicy.c
b/mm/mempolicy.c
index
bd92431
..
4ada3be
100644
(file)
--- a/
mm/mempolicy.c
+++ b/
mm/mempolicy.c
@@
-2562,7
+2562,7
@@
int mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol, int no_context)
break;
default:
-
BUG()
;
+
return -EINVAL
;
}
l = strlen(policy_modes[mode]);