summaryrefslogtreecommitdiffstats
path: root/include/net/pkt_cls.h
diff options
context:
space:
mode:
authorAmir Vadai2016-03-11 10:08:45 +0100
committerDavid S. Miller2016-03-11 18:04:37 +0100
commit8208d21bf309551686b7a76d19059ae182a956d0 (patch)
treea46eb4b61c8b7375ff01b5f75a851ef2c4384ac2 /include/net/pkt_cls.h
parentMerge branch 'flower-offload' (diff)
downloadkernel-qcow2-linux-8208d21bf309551686b7a76d19059ae182a956d0.tar.gz
kernel-qcow2-linux-8208d21bf309551686b7a76d19059ae182a956d0.tar.xz
kernel-qcow2-linux-8208d21bf309551686b7a76d19059ae182a956d0.zip
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/net/pkt_cls.h')
-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;