From: Frank Li <Frank.li@nxp.com>
To: Ayush Kumar <ayushkr0s@gmail.com>
Cc: slongerbeam@gmail.com, p.zabel@pengutronix.de,
mchehab@kernel.org, gregkh@linuxfoundation.org,
shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com,
linux-media@vger.kernel.org, linux-staging@lists.linux.dev,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, kernel-newbies@vger.kernel.org
Subject: Re: [PATCH] staging: media: Remove unnecessary braces from if statement
Date: Tue, 25 Nov 2025 16:15:17 -0500 [thread overview]
Message-ID: <aSYcZYDUsJ3jy8cR@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20251125202331.36505-1-ayushkr0s@gmail.com>
On Tue, Nov 25, 2025 at 08:23:31PM +0000, Ayush Kumar wrote:
> Adhering to Linux kernel coding style guidelines (Chapter 3: Indentation).
>
> Signed-off-by: Ayush Kumar <ayushkr0s@gmail.com>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> 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
>
next prev parent reply other threads:[~2025-11-25 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-25 20:23 [PATCH] staging: media: Remove unnecessary braces from if statement Ayush Kumar
2025-11-25 21:15 ` Frank Li [this message]
2026-03-27 14:49 ` Frank Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aSYcZYDUsJ3jy8cR@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=ayushkr0s@gmail.com \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=imx@lists.linux.dev \
--cc=kernel-newbies@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=slongerbeam@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox