Re: [PATCH 2/2] Fixed: Kernel: user_c: fixed whitespace & intendation errors

From: Andrew Morton
Date: Thu Jul 25 2024 - 16:57:43 EST


On Sat, 13 Jul 2024 23:11:37 +0530 mohitpawar@xxxxxxxxxxxx wrote:

> --- a/kernel/user.c
> +++ b/kernel/user.c
> @@ -6,7 +6,7 @@
> *
> * We have a per-user structure to keep track of how many
> * processes, files etc the user has claimed, in order to be
> - * able to have per-user limits for system resources.
> + * able to have per-user limits for system resources.
> */
>
> #include <linux/init.h>
> @@ -249,7 +249,7 @@ static int __init uid_cache_init(void)
> uid_cachep = kmem_cache_create("uid_cache", sizeof(struct user_struct),
> 0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
>
> - for(n = 0; n < UIDHASH_SZ; ++n)
> + for (n = 0; n < UIDHASH_SZ; ++n)
> INIT_HLIST_HEAD(uidhash_table + n);
>
> if (user_epoll_alloc(&root_user))

I think this is too minor, sorry. We could merge a million patches
like this.