[Linux-kernel-mentees] [PATCH] scripts: mod: cleanup a few checkpatch.pl warnings

Lukas Bulwahn lukas.bulwahn at gmail.com
Fri Dec 18 16:23:24 UTC 2020


On Fri, Dec 18, 2020 at 3:36 PM Dwaipayan Ray <dwaipayanray1 at gmail.com>
wrote:

> On Fri, Dec 18, 2020 at 1:29 AM Dwaipayan Ray <dwaipayanray1 at gmail.com>
> wrote:
> >
> > Cleanup some warnings reported by checkpatch.pl to make
> > the code more in line with the kernel coding style.
> >
> > Signed-off-by: Dwaipayan Ray <dwaipayanray1 at gmail.com>
> > ---
> >  scripts/mod/file2alias.c | 156 +++++++++++++++++++++------------------
> >  1 file changed, 83 insertions(+), 73 deletions(-)
> >
>
> Lukas, If you have no problem with this cleanup patch, could I send it
> out to the maintainers?
>
>
You can do that, but be aware that this might be rejected and maintainers
generally dislike these "only code style fixup" patches and might not take
them.

I would rather like to see us making some progress on the tool to run
clang-format on patches and experiment a bit more with that.

Lukas


> Thank you,
> Dwaipayan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/linux-kernel-mentees/attachments/20201218/d9cb5f3f/attachment.html>


More information about the Linux-kernel-mentees mailing list