net/flower: Fix pointer cast

Cast pointer to unsigned long instead of u64, to fix compilation warning
on 32 bit arch, spotted by 0day build.

Fixes: 5b33f48 ("net/flower: Introduce hardware offload support")
Signed-off-by: Amir Vadai <amir@vadai.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Amir Vadai
2016-03-11 11:08:45 +02:00
committed by David S. Miller
parent e8ab563f4b
commit 8208d21bf3
2 changed files with 7 additions and 7 deletions

View File

@@ -416,7 +416,7 @@ enum tc_fl_command {
struct tc_cls_flower_offload {
enum tc_fl_command command;
u64 cookie;
unsigned long cookie;
struct flow_dissector *dissector;
struct fl_flow_key *mask;
struct fl_flow_key *key;