diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2008-02-06 04:37:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:08 -0500 |
commit | eb38a996ebacefe4ce2274de901138505d9cc96b (patch) | |
tree | 7a00d32dbbc9d32436c08d380b4339e2196753f0 | |
parent | 15ae02baf025750cd79ef3929c28f7083a088bd2 (diff) |
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>
-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, | |||
272 | unsigned int min, unsigned int max, | 272 | unsigned int min, unsigned int max, |
273 | void *elem, int elemsize, | 273 | void *elem, int elemsize, |
274 | int (*set)(const char *, struct kernel_param *kp), | 274 | int (*set)(const char *, struct kernel_param *kp), |
275 | int *num) | 275 | unsigned int *num) |
276 | { | 276 | { |
277 | int ret; | 277 | int ret; |
278 | struct kernel_param kp; | 278 | struct kernel_param kp; |