Re: [PATCH] 9P FS: Fix wild-memory-access write in v9fs_get_acl
From: Vincenzo Palazzo
Date: Sun Mar 12 2023 - 06:38:43 EST
On Sat Mar 11, 2023 at 6:35 PM CET, Ivan Orlov wrote:
>
> > I'm not sure what are the rules around here but I prefer to use brackets
> > more generously.
>
> I think in this particular case they can just make the code less
> readable (considering they will not change the behavior in any way).
> However, this is eternal discussion and I saw examples of both in the
> kernel sources.
Maybe this can be a good reading [1], I think it is more a kernel rule?
[1] https://www.kernel.org/doc/html/latest/process/coding-style.html
Cheers
Vincent.
> _______________________________________________
> Linux-kernel-mentees mailing list
> Linux-kernel-mentees@xxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees