Commit eb38a996 authored by Richard Knutsson's avatar Richard Knutsson Committed by Linus Torvalds

kernel/params.c: remove sparse-warning (different signedness)

Fixing:
  CHECK   kernel/params.c
kernel/params.c:329:41: warning: incorrect type in argument 8 (different signedness)
kernel/params.c:329:41:    expected int *num
kernel/params.c:329:41:    got unsigned int *
Signed-off-by: default avatarRichard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 15ae02ba
...@@ -272,7 +272,7 @@ static int param_array(const char *name, ...@@ -272,7 +272,7 @@ static int param_array(const char *name,
unsigned int min, unsigned int max, unsigned int min, unsigned int max,
void *elem, int elemsize, void *elem, int elemsize,
int (*set)(const char *, struct kernel_param *kp), int (*set)(const char *, struct kernel_param *kp),
int *num) unsigned int *num)
{ {
int ret; int ret;
struct kernel_param kp; struct kernel_param kp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment