From: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
To: andy@kernel.org, hansg@kernel.org, mchehab@kernel.org,
sakari.ailus@linux.intel.com, gregkh@linuxfoundation.org,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
linux-staging@lists.linux.dev
Cc: ~lkcamp/patches@lists.sr.ht, koike@igalia.com,
Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Subject: [PATCH] media: atomisp: put trailing statement on it's own line
Date: Mon, 14 Jul 2025 15:22:16 +0200 [thread overview]
Message-ID: <20250714132221.4611-1-devrtz@fortysixandtwo.eu> (raw)
Fix checkpatch error "ERROR: trailing statements should be on next line"
in ia_css_formats.host.c:47.
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
---
Hey, this is my first patch
(done as part of a workshop at DebConf25),
I appreciate any feedback, thanks!
---
.../atomisp/pci/isp/kernels/fc/fc_1.0/ia_css_formats.host.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/fc/fc_1.0/ia_css_formats.host.c b/drivers/staging/media/atomisp/pci/isp/kernels/fc/fc_1.0/ia_css_formats.host.c
index bae1ca2cd505..9a4f9cc40bfa 100644
--- a/drivers/staging/media/atomisp/pci/isp/kernels/fc/fc_1.0/ia_css_formats.host.c
+++ b/drivers/staging/media/atomisp/pci/isp/kernels/fc/fc_1.0/ia_css_formats.host.c
@@ -44,7 +44,8 @@ ia_css_formats_dump(
const struct sh_css_isp_formats_params *formats,
unsigned int level)
{
- if (!formats) return;
+ if (!formats)
+ return;
ia_css_debug_dtrace(level, "\t%-32s = %d\n",
"video_full_range_flag", formats->video_full_range_flag);
}
--
2.50.0
next reply other threads:[~2025-07-14 13:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-14 13:22 Evangelos Ribeiro Tzaras [this message]
2025-07-14 17:50 ` Andy Shevchenko
2025-07-14 17:52 ` Andy Shevchenko
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=20250714132221.4611-1-devrtz@fortysixandtwo.eu \
--to=devrtz@fortysixandtwo.eu \
--cc=andy@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hansg@kernel.org \
--cc=koike@igalia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=~lkcamp/patches@lists.sr.ht \
/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
all inboxes | Powered by JetHome®