The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Ashutosh Naik <ashutosh_naik@adaptec.com>
To: pablo@eurodev.net, tgraf@suug.ch
Cc: Andrew Morton <akpm@osdl.org>,
	torvalds@osdl.org, linux-kernel@vger.kernel.org,
	stable@kernel.org
Subject: [PATCH] lib - Fix broken function declaration in linux/textsearch.h
Date: Mon, 07 Nov 2005 17:12:21 +0530	[thread overview]
Message-ID: <1131363741.30115.35.camel@localhost.localdomain> (raw)

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 *);



             reply	other threads:[~2005-11-07 11:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 11:42 Ashutosh Naik [this message]
2005-11-07 20:12 ` [stable] [PATCH] lib - Fix broken function declaration in linux/textsearch.h Greg KH
2005-11-07 21:28   ` Linus Torvalds
2005-11-07 21:49     ` Greg KH
2005-11-07 21:30 ` Thomas Graf

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=1131363741.30115.35.camel@localhost.localdomain \
    --to=ashutosh_naik@adaptec.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pablo@eurodev.net \
    --cc=stable@kernel.org \
    --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