lkml.org 
[lkml]   [2005]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[was: Linux v2.6.14-rc4] fix textsearch build warning
On Mon, Oct 10, 2005 at 06:31:12PM -0700, Linus Torvalds wrote:
>
> Here's the final -rc before a 2.6.14 release.
>
> In the diffstat, most of the changes are one-liners, with the main
> exceptions being some sparc64 work (fix user-space corruption due to FP
> save/restore) and the new Megaraid SAS driver. There's some networking
> fixes, and a couple of driver updates (scsi: aacraid, net: cassini, and
> watchdog: pcwd_pci).
>
> Along with a x86-64 suspend/resume page table corruption and some new
> defconfig files for ARM, that rounds out the bigger chunks.
>
> The shortlog (appended) should be a pretty good idea of the rest.

I get this when building 14-rc4:

lib/ts_kmp.c:125: warning: initialization from incompatible pointer type
lib/ts_bm.c:165: warning: initialization from incompatible pointer type
lib/ts_fsm.c:318: warning: initialization from incompatible pointer type

The following trivial patch fixes it.

Signed-off-by: Borislav Petkov <petkov@uni-muenster.de>


--- 14-rc4/include/linux/textsearch.h.orig 2005-10-11 16:36:16.000000000 +0200
+++ 14-rc4/include/linux/textsearch.h 2005-10-11 16:36:45.000000000 +0200
@@ -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 *);




___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
-
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-10-11 22:30    [W:0.031 / U:7.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site