projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc3296
)
xfrm: Const'ify pointer args to migrate_tmpl_match and xfrm_migrate_check
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 05:21:08 +0000
(
00:21
-0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 07:07:40 +0000
(23:07 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_policy.c
b/net/xfrm/xfrm_policy.c
index
5f19ae6
..
eb76da7
100644
(file)
--- a/
net/xfrm/xfrm_policy.c
+++ b/
net/xfrm/xfrm_policy.c
@@
-2788,7
+2788,7
@@
static struct xfrm_policy * xfrm_migrate_policy_find(struct xfrm_selector *sel,
return ret;
}
-static int migrate_tmpl_match(
struct xfrm_migrate *m,
struct xfrm_tmpl *t)
+static int migrate_tmpl_match(
const struct xfrm_migrate *m, const
struct xfrm_tmpl *t)
{
int match = 0;
@@
-2858,7
+2858,7
@@
static int xfrm_policy_migrate(struct xfrm_policy *pol,
return 0;
}
-static int xfrm_migrate_check(struct xfrm_migrate *m, int num_migrate)
+static int xfrm_migrate_check(
const
struct xfrm_migrate *m, int num_migrate)
{
int i, j;