mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[XFRM]: fix sparse gfp nocast warnings
Fix implicit nocast warnings in xfrm code: net/xfrm/xfrm_policy.c:232:47: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
3d2aef6689
commit
83fa3400eb
2 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@ expired:
|
|||
* SPD calls.
|
||||
*/
|
||||
|
||||
struct xfrm_policy *xfrm_policy_alloc(int gfp)
|
||||
struct xfrm_policy *xfrm_policy_alloc(unsigned int __nocast gfp)
|
||||
{
|
||||
struct xfrm_policy *policy;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue