From: David S. Miller <davem@davemloft.net>
Date: Thu, 17 Feb 2011 06:04:57 +0000 (-0800)
Subject: ipv4: Mark fib_combine_itag()'s 'res' arg as const.
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b6bf3ca032c9cd517526178f579e7a4e395c6e45;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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

Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 08b46b8c3031..b3019d89e8be 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -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