diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2008-02-06 10:37:50 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 19:41:08 +0100 |
commit | eb38a996ebacefe4ce2274de901138505d9cc96b (patch) | |
tree | 7a00d32dbbc9d32436c08d380b4339e2196753f0 /kernel/params.c | |
parent | lib/extable.c: remove an expensive integer divide in search_extable() (diff) | |
download | linux-eb38a996ebacefe4ce2274de901138505d9cc96b.tar.xz linux-eb38a996ebacefe4ce2274de901138505d9cc96b.zip |
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: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/params.c')
-rw-r--r-- | kernel/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/params.c b/kernel/params.c index 42fe5e6126c0..e28c70628bb7 100644 --- a/kernel/params.c +++ b/kernel/params.c @@ -272,7 +272,7 @@ static int param_array(const char *name, unsigned int min, unsigned int max, void *elem, int elemsize, int (*set)(const char *, struct kernel_param *kp), - int *num) + unsigned int *num) { int ret; struct kernel_param kp; |