From: Richard Knutsson Date: Wed, 6 Feb 2008 09:37:50 +0000 (-0800) Subject: kernel/params.c: remove sparse-warning (different signedness) X-Git-Tag: v2.6.25-rc1~677 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=eb38a996ebacefe4ce2274de901138505d9cc96b;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/params.c b/kernel/params.c index 42fe5e6126c..e28c70628bb 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;