* [PATCH] staging: media: atomisp: remove trailing statement
@ 2024-07-30 7:18 Sai Sree Kartheek Adivi
2024-07-30 7:24 ` Greg Kroah-Hartman
2024-07-30 14:47 ` Dan Carpenter
0 siblings, 2 replies; 3+ messages in thread
From: Sai Sree Kartheek Adivi @ 2024-07-30 7:18 UTC (permalink / raw)
To: Greg Kroah-Hartman, linux-staging, linux-kernel
Cc: ~lkcamp/patches, helen.koike
this patch fixes the following checkpatch.pl error..
ERROR: trailing statements should be on next line
#48: FILE: drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c:48:
+ if (!anr) return;
Signed-off-by: Sai Sree Kartheek Adivi <sskartheekadivi@gmail.com>
---
Just started contributing to the kernel. please help me understand my
mistakes if any.
.../atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c b/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c
index 3f079c954..73364a65f 100644
--- a/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c
+++ b/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c
@@ -45,7 +45,8 @@ ia_css_anr_dump(
const struct sh_css_isp_anr_params *anr,
unsigned int level)
{
- if (!anr) return;
+ if (!anr)
+ return;
ia_css_debug_dtrace(level, "Advance Noise Reduction:\n");
ia_css_debug_dtrace(level, "\t%-32s = %d\n",
"anr_threshold", anr->threshold);
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: media: atomisp: remove trailing statement
2024-07-30 7:18 [PATCH] staging: media: atomisp: remove trailing statement Sai Sree Kartheek Adivi
@ 2024-07-30 7:24 ` Greg Kroah-Hartman
2024-07-30 14:47 ` Dan Carpenter
1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2024-07-30 7:24 UTC (permalink / raw)
To: Sai Sree Kartheek Adivi
Cc: linux-staging, linux-kernel, ~lkcamp/patches, helen.koike
On Tue, Jul 30, 2024 at 07:18:08AM +0000, Sai Sree Kartheek Adivi wrote:
> this patch fixes the following checkpatch.pl error..
> ERROR: trailing statements should be on next line
> #48: FILE: drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c:48:
> + if (!anr) return;
>
> Signed-off-by: Sai Sree Kartheek Adivi <sskartheekadivi@gmail.com>
> ---
> Just started contributing to the kernel. please help me understand my
> mistakes if any.
Please use scripts/get_maintainer.pl to determine who to send this
change to (hint, you didn't catch the maintainers of this file...)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: media: atomisp: remove trailing statement
2024-07-30 7:18 [PATCH] staging: media: atomisp: remove trailing statement Sai Sree Kartheek Adivi
2024-07-30 7:24 ` Greg Kroah-Hartman
@ 2024-07-30 14:47 ` Dan Carpenter
1 sibling, 0 replies; 3+ messages in thread
From: Dan Carpenter @ 2024-07-30 14:47 UTC (permalink / raw)
To: Sai Sree Kartheek Adivi
Cc: Greg Kroah-Hartman, linux-staging, linux-kernel, ~lkcamp/patches,
helen.koike
On Tue, Jul 30, 2024 at 07:18:08AM +0000, Sai Sree Kartheek Adivi wrote:
> this patch fixes the following checkpatch.pl error..
> ERROR: trailing statements should be on next line
> #48: FILE: drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c:48:
> + if (!anr) return;
>
> Signed-off-by: Sai Sree Kartheek Adivi <sskartheekadivi@gmail.com>
> ---
> Just started contributing to the kernel. please help me understand my
> mistakes if any.
>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
regards,
dan carpenter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-30 14:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30 7:18 [PATCH] staging: media: atomisp: remove trailing statement Sai Sree Kartheek Adivi
2024-07-30 7:24 ` Greg Kroah-Hartman
2024-07-30 14:47 ` Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox