Message ID | 20170506040737.GE32707@kroah.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 75a49795fcae..404d477d4bd2 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -395,7 +395,7 @@ struct printf_spec { #define FIELD_WIDTH_MAX ((1 << 23) - 1) #define PRECISION_MAX ((1 << 15) - 1) -int kptr_restrict __read_mostly; +int kptr_restrict __read_mostly = 4; /* * Always cleanse %p and %pK specifiers