summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmir Vadai <amir@vadai.me>2016-03-11 11:08:45 +0200
committerDavid S. Miller <davem@davemloft.net>2016-03-11 12:04:37 -0500
commit8208d21bf309551686b7a76d19059ae182a956d0 (patch)
treea46eb4b61c8b7375ff01b5f75a851ef2c4384ac2 /include
parente8ab563f4b2e51849a16d962c6235b81e429c0d7 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/pkt_cls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index 5b4e8f08b8f0..caa5e18636df 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -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;