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

From: Ashutosh Naik
Date: Mon Nov 07 2005 - 06:42:28 EST


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>

--
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);
unsigned int (*find)(struct ts_config *,
struct ts_state *);
void (*destroy)(struct ts_config *);


-
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/