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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux