* [PATCH] staging: media: Remove unnecessary braces for single
@ 2025-04-02 0:38 gshahrouzi
2025-04-02 6:15 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: gshahrouzi @ 2025-04-02 0:38 UTC (permalink / raw)
To: linux-media
Cc: linux-staging, slongerbeam, p.zabel, mchehab, gregkh, skhan,
kernelmentees
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
>From 2414aa327e8a2b2f8b7cb5673c20bcdea3c5763e Mon Sep 17 00:00:00 2001
From: Gabriel Shahrouzi <gshahrouzi@gmail.com>
Date: Tue, 1 Apr 2025 20:22:22 -0400
Subject: [PATCH] staging: media: Remove unnecessary braces for single
statement block
Remove unnecessary braces in single statement block to comply with kernel
coding style.
---
drivers/staging/media/imx/imx-media-of.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/media/imx/imx-media-of.c b/drivers/staging/media/imx/imx-media-of.c
index bb28daa4d713..7413551052ae 100644
--- a/drivers/staging/media/imx/imx-media-of.c
+++ b/drivers/staging/media/imx/imx-media-of.c
@@ -57,9 +57,8 @@ int imx_media_add_of_subdevs(struct imx_media_dev *imxmd,
of_node_put(csi_np);
if (ret) {
/* unavailable or already added is not an error */
- if (ret == -ENODEV || ret == -EEXIST) {
+ if (ret == -ENODEV || ret == -EEXIST)
continue;
- }
/* other error, can't continue */
return ret;
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: media: Remove unnecessary braces for single
2025-04-02 0:38 [PATCH] staging: media: Remove unnecessary braces for single gshahrouzi
@ 2025-04-02 6:15 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2025-04-02 6:15 UTC (permalink / raw)
To: gshahrouzi
Cc: linux-media, linux-staging, slongerbeam, p.zabel, mchehab, skhan,
kernelmentees
On Tue, Apr 01, 2025 at 05:38:13PM -0700, gshahrouzi@gmail.com wrote:
> >>From 2414aa327e8a2b2f8b7cb5673c20bcdea3c5763e Mon Sep 17 00:00:00 2001
> From: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> Date: Tue, 1 Apr 2025 20:22:22 -0400
> Subject: [PATCH] staging: media: Remove unnecessary braces for single
> statement block
>
> Remove unnecessary braces in single statement block to comply with kernel
> coding style.
> ---
> drivers/staging/media/imx/imx-media-of.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/imx/imx-media-of.c b/drivers/staging/media/imx/imx-media-of.c
> index bb28daa4d713..7413551052ae 100644
> --- a/drivers/staging/media/imx/imx-media-of.c
> +++ b/drivers/staging/media/imx/imx-media-of.c
> @@ -57,9 +57,8 @@ int imx_media_add_of_subdevs(struct imx_media_dev *imxmd,
> of_node_put(csi_np);
> if (ret) {
> /* unavailable or already added is not an error */
> - if (ret == -ENODEV || ret == -EEXIST) {
> + if (ret == -ENODEV || ret == -EEXIST)
> continue;
> - }
>
> /* other error, can't continue */
> return ret;
> --
> 2.43.0
>
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 does not have a Signed-off-by: line. Please read the
kernel file, Documentation/process/submitting-patches.rst and resend
it after adding that line. Note, the line needs to be in the body of
the email, before the patch, not at the bottom of the patch or in the
email signature.
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:[~2025-04-02 6:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-02 0:38 [PATCH] staging: media: Remove unnecessary braces for single gshahrouzi
2025-04-02 6:15 ` 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).