mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	xfrm: checkpatch erros with inline keyword position
Signed-off-by: Weilong Chen <chenweilong@huawei.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
		
							parent
							
								
									42054569f9
								
							
						
					
					
						commit
						2f3ea9a95c
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -1641,7 +1641,7 @@ static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy,
 | 
				
			||||||
	goto out;
 | 
						goto out;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int inline
 | 
					static inline int
 | 
				
			||||||
xfrm_dst_alloc_copy(void **target, const void *src, int size)
 | 
					xfrm_dst_alloc_copy(void **target, const void *src, int size)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	if (!*target) {
 | 
						if (!*target) {
 | 
				
			||||||
| 
						 | 
					@ -1653,7 +1653,7 @@ xfrm_dst_alloc_copy(void **target, const void *src, int size)
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int inline
 | 
					static inline int
 | 
				
			||||||
xfrm_dst_update_parent(struct dst_entry *dst, const struct xfrm_selector *sel)
 | 
					xfrm_dst_update_parent(struct dst_entry *dst, const struct xfrm_selector *sel)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
#ifdef CONFIG_XFRM_SUB_POLICY
 | 
					#ifdef CONFIG_XFRM_SUB_POLICY
 | 
				
			||||||
| 
						 | 
					@ -1665,7 +1665,7 @@ xfrm_dst_update_parent(struct dst_entry *dst, const struct xfrm_selector *sel)
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int inline
 | 
					static inline int
 | 
				
			||||||
xfrm_dst_update_origin(struct dst_entry *dst, const struct flowi *fl)
 | 
					xfrm_dst_update_origin(struct dst_entry *dst, const struct flowi *fl)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
#ifdef CONFIG_XFRM_SUB_POLICY
 | 
					#ifdef CONFIG_XFRM_SUB_POLICY
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue