Skip to content

Commit

Permalink
kernel/params.c: remove sparse-warning (different signedness)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Richard Knutsson authored and Linus Torvalds committed Feb 6, 2008
1 parent 15ae02b commit eb38a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eb38a99

Please sign in to comment.