Skip to content

Commit

Permalink
xfrm: checkpatch erros with inline keyword position
Browse files Browse the repository at this point in the history
Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
  • Loading branch information
Weilong Chen authored and Steffen Klassert committed Jan 2, 2014
1 parent 4205456 commit 2f3ea9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/xfrm/xfrm_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,7 @@ static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy,
goto out;
}

static int inline
static inline int
xfrm_dst_alloc_copy(void **target, const void *src, int size)
{
if (!*target) {
Expand All @@ -1653,7 +1653,7 @@ xfrm_dst_alloc_copy(void **target, const void *src, int size)
return 0;
}

static int inline
static inline int
xfrm_dst_update_parent(struct dst_entry *dst, const struct xfrm_selector *sel)
{
#ifdef CONFIG_XFRM_SUB_POLICY
Expand All @@ -1665,7 +1665,7 @@ xfrm_dst_update_parent(struct dst_entry *dst, const struct xfrm_selector *sel)
#endif
}

static int inline
static inline int
xfrm_dst_update_origin(struct dst_entry *dst, const struct flowi *fl)
{
#ifdef CONFIG_XFRM_SUB_POLICY
Expand Down

0 comments on commit 2f3ea9a

Please sign in to comment.