diff options
Diffstat (limited to 'lib/dynamic_debug.c')
| -rw-r--r-- | lib/dynamic_debug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index e22c148e4b7f..d6b8b9b1abfe 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c | |||
| @@ -21,9 +21,11 @@ | |||
| 21 | #include <linux/list.h> | 21 | #include <linux/list.h> |
| 22 | #include <linux/sysctl.h> | 22 | #include <linux/sysctl.h> |
| 23 | #include <linux/ctype.h> | 23 | #include <linux/ctype.h> |
| 24 | #include <linux/string.h> | ||
| 24 | #include <linux/uaccess.h> | 25 | #include <linux/uaccess.h> |
| 25 | #include <linux/dynamic_debug.h> | 26 | #include <linux/dynamic_debug.h> |
| 26 | #include <linux/debugfs.h> | 27 | #include <linux/debugfs.h> |
| 28 | #include <linux/slab.h> | ||
| 27 | 29 | ||
| 28 | extern struct _ddebug __start___verbose[]; | 30 | extern struct _ddebug __start___verbose[]; |
| 29 | extern struct _ddebug __stop___verbose[]; | 31 | extern struct _ddebug __stop___verbose[]; |
| @@ -209,8 +211,7 @@ static int ddebug_tokenize(char *buf, char *words[], int maxwords) | |||
| 209 | char *end; | 211 | char *end; |
| 210 | 212 | ||
| 211 | /* Skip leading whitespace */ | 213 | /* Skip leading whitespace */ |
| 212 | while (*buf && isspace(*buf)) | 214 | buf = skip_spaces(buf); |
| 213 | buf++; | ||
| 214 | if (!*buf) | 215 | if (!*buf) |
| 215 | break; /* oh, it was trailing whitespace */ | 216 | break; /* oh, it was trailing whitespace */ |
| 216 | 217 | ||
