2022-10-22 06:07:26

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] Staging: rtl8192e: fixed multiple coding style issues

On Sat, Oct 22, 2022 at 12:05:58PM +0700, Aaron Lawrence wrote:
>

> From 66a313db135ffaa86d2aaddb3b2286c7b004b5f1 Mon Sep 17 00:00:00 2001
> From: Aaron Lawrence <[email protected]>
> Date: Sat, 22 Oct 2022 11:30:22 +0700
> Subject: [PATCH] Staging: rtl8192e: fixed multiple coding style issues
>
> Fixed multiple coding style issues on multiple files
> according to the checkpatchscript.
>
> Signed-off-by: Aaron Lawrence <[email protected]>
> ---
> drivers/staging/rtl8192e/rtl819x_HTProc.c | 1 +
> drivers/staging/rtl8192e/rtl819x_TSProc.c | 11 ++++----
> drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 12 +--------
> drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 28 +-------------------
> drivers/staging/rtl8192e/rtllib_crypt_wep.c | 10 +------
> drivers/staging/rtl8192e/rtllib_tx.c | 15 +++++------
> 6 files changed, 15 insertions(+), 62 deletions(-)

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- Your patch was attached, please place it inline so that it can be
applied directly from the email message itself.

- Your patch did many different things all at once, making it difficult
to review. All Linux kernel patches need to only do one thing at a
time. If you need to do multiple things (such as clean up all coding
style issues in a file/driver), do it in a sequence of patches, each
one doing only one thing. This will make it easier to review the
patches to ensure that they are correct, and to help alleviate any
merge issues that larger patches can cause.

- You did not specify a description of why the patch is needed, or
possibly, any description at all, in the email body. Please read the
section entitled "The canonical patch format" in the kernel file,
Documentation/SubmittingPatches for what is needed in order to
properly describe the change.

- You did not write a descriptive Subject: for the patch, allowing Greg,
and everyone else, to know what this patch is all about. Please read
the section entitled "The canonical patch format" in the kernel file,
Documentation/SubmittingPatches for what a proper Subject: line should
look like.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot

2022-10-22 06:09:34

by Philipp Hortmann

[permalink] [raw]
Subject: Re: [PATCH] Staging: rtl8192e: fixed multiple coding style issues

On 10/22/22 07:05, Aaron Lawrence wrote:

Hi,

please do not attach patches to the email. Make the email the patch.

Have a look at the examples:
https://lore.kernel.org/linux-staging/

> Subject: [PATCH] Staging: rtl8192e: fixed multiple coding style issues
>
> Fixed multiple coding style issues on multiple files
> according to the checkpatchscript.

Please do one type of a change at a time and not multiple changes. Look
for examples in the above link or in the kernel.
Thanks

Bye Philipp