Skip to content

Commit 7f71195

Browse files
Dishank Jogikees
authored andcommitted
fork: reorder function qualifiers for copy_clone_args_from_user
Change the order of function qualifiers from 'noinline static' to 'static noinline' in copy_clone_args_from_user for consistency with kernel coding style. No functional change intended. The goal is to improve readability and maintain consistent ordering of qualifiers across the codebase. Signed-off-by: Dishank Jogi <dishank.jogi@siqol.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Link: https://lore.kernel.org/r/20250716093525.449994-1-dishank.jogi@siqol.com Signed-off-by: Kees Cook <kees@kernel.org>
1 parent 8030790 commit 7f71195

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/fork.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2743,7 +2743,7 @@ SYSCALL_DEFINE5(clone, unsigned long, clone_flags, unsigned long, newsp,
27432743
}
27442744
#endif
27452745

2746-
noinline static int copy_clone_args_from_user(struct kernel_clone_args *kargs,
2746+
static noinline int copy_clone_args_from_user(struct kernel_clone_args *kargs,
27472747
struct clone_args __user *uargs,
27482748
size_t usize)
27492749
{

0 commit comments

Comments
 (0)