[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y0MQyCBItOcMvjh/@kroah.com>
Date: Sun, 9 Oct 2022 20:19:52 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Valentin Vidic <vvidic@...entin-vidic.from.hr>
Cc: Philipp Hortmann <philipp.g.hortmann@...il.com>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] staging: rtl8192e: cleanup if statements
On Sun, Oct 09, 2022 at 06:05:34PM +0200, Valentin Vidic wrote:
> Fix checkpatch warnings for if statements in rtl_wx.c:
>
> CHECK: Comparison to NULL could be written "!expr"
> CHECK: Using comparison to true is error prone
> CHECK: braces {} should be used on all arms of this statement
> CHECK: Unbalanced braces around else statement
> CHECK: Alignment should match open parenthesis
>
> Signed-off-by: Valentin Vidic <vvidic@...entin-vidic.from.hr>
> ---
> v2: rebase and update description
>
> drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 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 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.
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
Powered by blists - more mailing lists