summaryrefslogtreecommitdiff
path: root/lib/ts_fsm.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-10-05 09:45:14 +0400
committerDavid S. Miller <davem@davemloft.net>2005-10-05 09:45:14 +0400
commit3d2aef668920e8d93b77f145f8f647f62abe75db (patch)
treee6beccf265b361f8391c1bd25bb0dde537408383 /lib/ts_fsm.c
parentdd13a285b79ba77416b96ee10f49097f4aaf48c5 (diff)
downloadlinux-3d2aef668920e8d93b77f145f8f647f62abe75db.tar.xz
[TEXTSEARCH]: fix sparse gfp nocast warnings
Fix nocast sparse warnings: include/linux/textsearch.h:165:57: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/ts_fsm.c')
-rw-r--r--lib/ts_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ts_fsm.c b/lib/ts_fsm.c
index d27c0a072940..ef9779e00506 100644
--- a/lib/ts_fsm.c
+++ b/lib/ts_fsm.c
@@ -258,7 +258,7 @@ found_match:
}
static struct ts_config *fsm_init(const void *pattern, unsigned int len,
- int gfp_mask)
+ unsigned int __nocast gfp_mask)
{
int i, err = -EINVAL;
struct ts_config *conf;