]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fork: reorder function qualifiers for copy_clone_args_from_user
authorDishank Jogi <dishank.jogi@siqol.com>
Wed, 16 Jul 2025 09:35:25 +0000 (15:05 +0530)
committerKees Cook <kees@kernel.org>
Thu, 17 Jul 2025 23:37:05 +0000 (16:37 -0700)
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>
kernel/fork.c

index 1ee8eb11f38bae1d2eb6de9494aea94b7a19e6c3..574ff0d983dbcbebf1360f0de98a9fdaf8d3482b 100644 (file)
@@ -2743,7 +2743,7 @@ SYSCALL_DEFINE5(clone, unsigned long, clone_flags, unsigned long, newsp,
 }
 #endif
 
-noinline static int copy_clone_args_from_user(struct kernel_clone_args *kargs,
+static noinline int copy_clone_args_from_user(struct kernel_clone_args *kargs,
                                              struct clone_args __user *uargs,
                                              size_t usize)
 {