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>
This commit is contained in:
Родитель
15ae02baf0
Коммит
eb38a996eb
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче