diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-10-05 07:45:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-05 07:45:14 +0200 |
commit | 3d2aef668920e8d93b77f145f8f647f62abe75db (patch) | |
tree | e6beccf265b361f8391c1bd25bb0dde537408383 /lib/ts_kmp.c | |
parent | [RPC]: fix sparse gfp nocast warnings (diff) | |
download | linux-3d2aef668920e8d93b77f145f8f647f62abe75db.tar.xz linux-3d2aef668920e8d93b77f145f8f647f62abe75db.zip |
[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_kmp.c')
-rw-r--r-- | lib/ts_kmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ts_kmp.c b/lib/ts_kmp.c index 73266b975585..e45f0f0c2379 100644 --- a/lib/ts_kmp.c +++ b/lib/ts_kmp.c @@ -87,7 +87,7 @@ static inline void compute_prefix_tbl(const u8 *pattern, unsigned int len, } static struct ts_config *kmp_init(const void *pattern, unsigned int len, - int gfp_mask) + unsigned int __nocast gfp_mask) { struct ts_config *conf; struct ts_kmp *kmp; |