diff options
| author | Dishank Jogi <dishank.jogi@siqol.com> | 2025-07-16 15:05:25 +0530 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2025-07-17 16:37:05 -0700 |
| commit | 7f71195c15dcf5f34c4c7f056603659374e3a525 (patch) | |
| tree | 26164b83bd02700eec23164fa7cc488a4258633b /kernel/fork.c | |
| parent | binfmt_elf: remove the 4k limitation of program header size (diff) | |
| download | linux-7f71195c15dcf5f34c4c7f056603659374e3a525.tar.gz linux-7f71195c15dcf5f34c4c7f056603659374e3a525.zip | |
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>
Diffstat (limited to 'kernel/fork.c')
| -rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 1ee8eb11f38b..574ff0d983db 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) { |
