From: Borislav Petkov <bbpetkov@yahoo.de>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
tgraf@suug.ch, pablo@eurodev.net
Subject: [was: Linux v2.6.14-rc4] fix textsearch build warning
Date: Tue, 11 Oct 2005 16:54:54 +0200 [thread overview]
Message-ID: <20051011145454.GA30786@gollum.tnic> (raw)
In-Reply-To: <Pine.LNX.4.64.0510101824130.14597@g5.osdl.org>
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
next prev parent reply other threads:[~2005-10-11 20:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-11 1:31 Linux v2.6.14-rc4 Linus Torvalds
2005-10-11 3:41 ` Al Viro
2005-10-11 3:58 ` David S. Miller
2005-10-11 4:24 ` Al Viro
2005-10-11 4:40 ` David S. Miller
2005-10-11 14:54 ` Borislav Petkov [this message]
2005-10-11 20:59 ` [was: Linux v2.6.14-rc4] fix textsearch build warning Al Viro
2005-10-11 23:02 ` Borislav Petkov
2005-10-11 23:24 ` Al Viro
2005-10-11 23:33 ` Linus Torvalds
2005-10-11 23:38 ` Linus Torvalds
2005-10-11 23:49 ` Al Viro
2005-10-12 0:57 ` Linus Torvalds
2005-10-12 8:27 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051011145454.GA30786@gollum.tnic \
--to=bbpetkov@yahoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pablo@eurodev.net \
--cc=tgraf@suug.ch \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®