From: Gao Feng Date: Wed, 31 Aug 2016 03:16:22 +0000 (+0800) Subject: rps: flow_dissector: Add the const for the parameter of flow_keys_have_l4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=66fdd05e7a85564f86d9b220de946aa98e8bc048;p=linux-beck.git rps: flow_dissector: Add the const for the parameter of flow_keys_have_l4 Add the const for the parameter of flow_keys_have_l4 for the readability. Signed-off-by: Gao Feng Signed-off-by: David S. Miller --- diff --git a/include/net/flow_dissector.h b/include/net/flow_dissector.h index f266b512c3bd..d9534927d93b 100644 --- a/include/net/flow_dissector.h +++ b/include/net/flow_dissector.h @@ -183,7 +183,7 @@ struct flow_keys_digest { void make_flow_keys_digest(struct flow_keys_digest *digest, const struct flow_keys *flow); -static inline bool flow_keys_have_l4(struct flow_keys *keys) +static inline bool flow_keys_have_l4(const struct flow_keys *keys) { return (keys->ports.ports || keys->tags.flow_label); }