Skip to contentSkip to conversation

ipv4: Mark fib_combine_itag()'s 'res' arg as const.

PATCH New David Miller 1 participant 1 message Feb 18, 2011

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 6/7 ipv4: Mark fib_combine_itag()'s 'res' arg as const.

---
 include/net/ip_fib.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/net/ip_fib.h +1 -1
index 08b46b8..b3019d8 100644
@@ -232,7 +232,7 @@ extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res
 extern void fib_trie_init(void);
 extern struct fib_table *fib_trie_table(u32 id);
 
-static inline void fib_combine_itag(u32 *itag, struct fib_result *res)
+static inline void fib_combine_itag(u32 *itag, const struct fib_result *res)
 {
 #ifdef CONFIG_IP_ROUTE_CLASSID
 #ifdef CONFIG_IP_MULTIPLE_TABLES
Signature · 1 line
1.7.4.1