Message ID | 20240730123842.37487-1-kartik.koolks@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | staging: atomisp: bnr: fix trailing statement | expand |
On Tue, Jul 30, 2024 at 12:38:42PM +0000, Kartik Kulkarni wrote: > Fix checkpatch error trailing statements should be on next line in > ia_css_bnr.host.c:48. > --- > Newbie to contributing to kernel code > --- > > Signed-off-by: Kartik Kulkarni <kartik.koolks@gmail.com> This signed off by line needs to go above the --- line. https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/ regards, dan carpenter
diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/ia_css_bnr.host.c b/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/ia_css_bnr.host.c index 457a004e1..b75cfd309 100644 --- a/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/ia_css_bnr.host.c +++ b/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/ia_css_bnr.host.c @@ -45,7 +45,8 @@ ia_css_bnr_dump( const struct sh_css_isp_bnr_params *bnr, unsigned int level) { - if (!bnr) return; + if (!bnr) + return; ia_css_debug_dtrace(level, "Bayer Noise Reduction:\n"); ia_css_debug_dtrace(level, "\t%-32s = %d\n", "bnr_gain_all", bnr->gain_all);
Fix checkpatch error trailing statements should be on next line in ia_css_bnr.host.c:48. --- Newbie to contributing to kernel code --- Signed-off-by: Kartik Kulkarni <kartik.koolks@gmail.com> --- .../atomisp/pci/isp/kernels/bnr/bnr_1.0/ia_css_bnr.host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)