* [PATCH] wifi: av7110: remove space before ')'
[not found] <tencent_C61A29FA864A05D9D83277F0CF7721A52D0A@qq.com>
@ 2023-07-18 7:27 ` hanyu001
2023-07-18 13:32 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: hanyu001 @ 2023-07-18 7:27 UTC (permalink / raw)
To: mchehab, linux-staging, linux-kernel; +Cc: linux-media
The patch fixes the following errors detected by checkpatch.pl:
./drivers/staging/media/av7110/av7110.c:2556: ERROR: space prohibited
before that close parenthesis ')'
./drivers/staging/media/av7110/av7110.c:2558: ERROR: space prohibited
before that close parenthesis ')'
./drivers/staging/media/av7110/av7110.c:2599: ERROR: space prohibited
before that close parenthesis ')'
Signed-off-by: Yu Han <hanyu001@208suo.com>
---
drivers/staging/media/av7110/av7110.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/media/av7110/av7110.c
b/drivers/staging/media/av7110/av7110.c
index a5a431c1..6b9df2c 100644
--- a/drivers/staging/media/av7110/av7110.c
+++ b/drivers/staging/media/av7110/av7110.c
@@ -2553,9 +2553,9 @@ static int av7110_attach(struct saa7146_dev* dev,
* use 0x03 to track RPS1 interrupts - increase by 1 every
gpio3 is toggled
* use 0x15 to track VPE interrupts - increase by 1 every
vpeirq() is called
*/
- saa7146_write(dev, EC1SSR, (0x03<<2) | 3 );
+ saa7146_write(dev, EC1SSR, (0x03<<2) | 3);
/* set event counter 1 threshold to maximum allowed value
(rEC p55) */
- saa7146_write(dev, ECT1R, 0x3fff );
+ saa7146_write(dev, ECT1R, 0x3fff);
#endif
/* Setup BUDGETPATCH MAIN RPS1 "program" (p35) */
count = 0;
@@ -2596,7 +2596,7 @@ static int av7110_attach(struct saa7146_dev* dev,
* then RPS_THRESH1 should be set to trigger
* every TS_HEIGHT (512) lines.
*/
- saa7146_write(dev, RPS_THRESH1, (TS_HEIGHT*1) | MASK_12 );
+ saa7146_write(dev, RPS_THRESH1, (TS_HEIGHT*1) | MASK_12);
/* Enable RPS1
(rFC p33) */
saa7146_write(dev, MC1, (MASK_13 | MASK_29));
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] wifi: av7110: remove space before ')'
2023-07-18 7:27 ` [PATCH] wifi: av7110: remove space before ')' hanyu001
@ 2023-07-18 13:32 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2023-07-18 13:32 UTC (permalink / raw)
To: hanyu001; +Cc: mchehab, linux-staging, linux-kernel, linux-media
On Tue, Jul 18, 2023 at 03:27:58PM +0800, hanyu001@208suo.com wrote:
> The patch fixes the following errors detected by checkpatch.pl:
>
> ./drivers/staging/media/av7110/av7110.c:2556: ERROR: space prohibited before
> that close parenthesis ')'
> ./drivers/staging/media/av7110/av7110.c:2558: ERROR: space prohibited before
> that close parenthesis ')'
> ./drivers/staging/media/av7110/av7110.c:2599: ERROR: space prohibited before
> that close parenthesis ')'
>
> Signed-off-by: Yu Han <hanyu001@208suo.com>
> ---
> drivers/staging/media/av7110/av7110.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/media/av7110/av7110.c
> b/drivers/staging/media/av7110/av7110.c
> index a5a431c1..6b9df2c 100644
> --- a/drivers/staging/media/av7110/av7110.c
> +++ b/drivers/staging/media/av7110/av7110.c
> @@ -2553,9 +2553,9 @@ static int av7110_attach(struct saa7146_dev* dev,
> * use 0x03 to track RPS1 interrupts - increase by 1 every gpio3 is
> toggled
> * use 0x15 to track VPE interrupts - increase by 1 every vpeirq()
> is called
> */
> - saa7146_write(dev, EC1SSR, (0x03<<2) | 3 );
> + saa7146_write(dev, EC1SSR, (0x03<<2) | 3);
> /* set event counter 1 threshold to maximum allowed value
> (rEC p55) */
> - saa7146_write(dev, ECT1R, 0x3fff );
> + saa7146_write(dev, ECT1R, 0x3fff);
> #endif
> /* Setup BUDGETPATCH MAIN RPS1 "program" (p35) */
> count = 0;
> @@ -2596,7 +2596,7 @@ static int av7110_attach(struct saa7146_dev* dev,
> * then RPS_THRESH1 should be set to trigger
> * every TS_HEIGHT (512) lines.
> */
> - saa7146_write(dev, RPS_THRESH1, (TS_HEIGHT*1) | MASK_12 );
> + saa7146_write(dev, RPS_THRESH1, (TS_HEIGHT*1) | MASK_12);
>
> /* Enable RPS1
> (rFC p33) */
> saa7146_write(dev, MC1, (MASK_13 | MASK_29));
>
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 contains warnings and/or errors noticed by the
scripts/checkpatch.pl tool.
- Your patch is malformed (tabs converted to spaces, linewrapped, etc.)
and can not be applied. Please read the file,
Documentation/process/email-clients.rst in order to fix this.
- 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/process/submitting-patches.rst 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/process/submitting-patches.rst 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-18 13:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tencent_C61A29FA864A05D9D83277F0CF7721A52D0A@qq.com>
2023-07-18 7:27 ` [PATCH] wifi: av7110: remove space before ')' hanyu001
2023-07-18 13:32 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).