From: Dishank Jogi Date: Wed, 16 Jul 2025 09:35:25 +0000 (+0530) Subject: fork: reorder function qualifiers for copy_clone_args_from_user X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f71195c15dcf5f34c4c7f056603659374e3a525;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Liam R. Howlett Reviewed-by: David Hildenbrand Reviewed-by: Lorenzo Stoakes Link: https://lore.kernel.org/r/20250716093525.449994-1-dishank.jogi@siqol.com Signed-off-by: Kees Cook --- diff --git a/kernel/fork.c b/kernel/fork.c index 1ee8eb11f38ba..574ff0d983dbc 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -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) {