mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
dd13a285b7
commit
3d2aef6689
4 changed files with 5 additions and 4 deletions
|
@ -158,7 +158,8 @@ extern unsigned int textsearch_find_continuous(struct ts_config *,
|
|||
#define TS_PRIV_ALIGNTO 8
|
||||
#define TS_PRIV_ALIGN(len) (((len) + TS_PRIV_ALIGNTO-1) & ~(TS_PRIV_ALIGNTO-1))
|
||||
|
||||
static inline struct ts_config *alloc_ts_config(size_t payload, int gfp_mask)
|
||||
static inline struct ts_config *alloc_ts_config(size_t payload,
|
||||
unsigned int __nocast gfp_mask)
|
||||
{
|
||||
struct ts_config *conf;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue