Re: 2.6.28-mmotm1230 drivers/input/input.c warning msg

From: Randy Dunlap
Date: Fri Jan 02 2009 - 11:11:09 EST


Valdis.Kletnieks@xxxxxx wrote:
> patch input-allow-certain-ev_abs-events-to-bypass-all-filtering.patch
> caused a new warning to be added to the compile:
>
> CC drivers/input/input.o
> drivers/input/input.c:1661: warning: function declaration isnÃâât a prototype
>
> Fix up the declaration so the compiler knows what the prototype is.
>
> Signed-off-by: Valdis Kletnieks <valdis.kletnieks@xxxxxx>

This is the third patch like this that's been posted, so I'll ack this one. ;)

Acked-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

> --- linux-2.6.28-mmotm1230/drivers/input/input.c.dist 2009-01-01 17:23:02.000000000 -0500
> +++ linux-2.6.28-mmotm1230/drivers/input/input.c 2009-01-02 05:09:12.000000000 -0500
> @@ -1657,7 +1657,7 @@ static const struct file_operations inpu
> .open = input_open_file,
> };
>
> -static void __init input_init_abs_bypass()
> +static void __init input_init_abs_bypass(void)
> {
> const unsigned int *p;
> for (p = input_abs_bypass_init_data; *p; p++)
>


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/