Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
dd701754
Commit
dd701754
authored
Feb 24, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xfrm: Const'ify pointer args to migrate_tmpl_match and xfrm_migrate_check
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
6cc32961
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_policy.c
+2
-2
No files found.
net/xfrm/xfrm_policy.c
View file @
dd701754
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment