lkml.org 
[lkml]   [2005]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] lib - Fix broken function declaration in linux/textsearch.h
From
Date
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@adaptec.com>

--
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-07 12:45    [W:0.088 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site