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:

committed by
David S. Miller

parent
e8ab563f4b
commit
8208d21bf3
@@ -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;
|
||||
|
Reference in New Issue
Block a user