Re: [stable] [PATCH] lib - Fix broken function declaration in linux/textsearch.h

From: Greg KH
Date: Mon Nov 07 2005 - 15:12:28 EST


On Mon, Nov 07, 2005 at 05:12:21PM +0530, Ashutosh Naik wrote:
> This PATCH addresses the issue of the init function pointer in
> lib/ts_bm.c, lib/ts_fsm.c and lib/ts_kmp.c using a mismatching
> definition in linux/textsearch.h
>
>
> Signed-off-by: Ashutosh Naik <ashutosh.naik@xxxxxxxxxxx>

Is this upstream?

> --
> diff -Naurp linux-2.6.14-git10/include/linux/textsearch.h
> linux-2.6.14-git10-mod/include/linux/textsearch.h
> --- linux-2.6.14-git10/include/linux/textsearch.h 2005-10-28
> 05:32:08.000000000 +0530
> +++ linux-2.6.14-git10-mod/include/linux/textsearch.h 2005-11-07
> 16:39:05.000000000 +0530
> @@ -40,7 +40,7 @@ struct ts_state
> struct ts_ops
> {
> const char *name;
> - struct ts_config * (*init)(const void *, unsigned int,
> int);
> + struct ts_config * (*init)(const void *, unsigned int,
> gfp_t);

Ugh, your patch is line-wrapped, and the tabs are messed up.

Care to retry?

thanks,

greg k-h
-
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/