.../kernels/xnr/xnr_3.0/ia_css_xnr3.host.c | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-)
Fix spaces by replacing them with tabs in function calls to comply
with kernel coding style with checkpatch.pl.
v2:
- Added trailing commas in arrays
- Fixed indentation
Signed-off-by: Shirin Kaul <shirin.kaul11@gmail.com>
---
.../kernels/xnr/xnr_3.0/ia_css_xnr3.host.c | 29 +++++++++----------
1 file changed, 13 insertions(+), 16 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c b/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c
index e90dea58215b..a3ee8827c44d 100644
--- a/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c
+++ b/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c
@@ -29,21 +29,21 @@
static const s16 x[XNR3_LOOK_UP_TABLE_POINTS] = {
1024, 1164, 1320, 1492, 1680, 1884, 2108, 2352,
- 2616, 2900, 3208, 3540, 3896, 4276, 4684, 5120
+ 2616, 2900, 3208, 3540, 3896, 4276, 4684, 5120,
};
static const s16 a[XNR3_LOOK_UP_TABLE_POINTS] = {
-7213, -5580, -4371, -3421, -2722, -2159, -6950, -5585,
- -4529, -3697, -3010, -2485, -2070, -1727, -1428, 0
- };
+ -4529, -3697, -3010, -2485, -2070, -1727, -1428, 0,
+};
static const s16 b[XNR3_LOOK_UP_TABLE_POINTS] = {
4096, 3603, 3178, 2811, 2497, 2226, 1990, 1783,
- 1603, 1446, 1307, 1185, 1077, 981, 895, 819
+ 1603, 1446, 1307, 1185, 1077, 981, 895, 819,
};
static const s16 c[XNR3_LOOK_UP_TABLE_POINTS] = {
- 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
/*
@@ -124,10 +124,9 @@ compute_blending(int strength)
}
void
-ia_css_xnr3_encode(
- struct sh_css_isp_xnr3_params *to,
- const struct ia_css_xnr3_config *from,
- unsigned int size)
+ia_css_xnr3_encode(struct sh_css_isp_xnr3_params *to,
+ const struct ia_css_xnr3_config *from,
+ unsigned int size)
{
int kernel_size = XNR_FILTER_SIZE;
int adjust_factor = roundup_pow_of_two(kernel_size);
@@ -179,10 +178,9 @@ ia_css_xnr3_encode(
* VMEM Encode Function to translate UV parameters from userspace into ISP space
*/
void
-ia_css_xnr3_vmem_encode(
- struct sh_css_isp_xnr3_vmem_params *to,
- const struct ia_css_xnr3_config *from,
- unsigned int size)
+ia_css_xnr3_vmem_encode(struct sh_css_isp_xnr3_vmem_params *to,
+ const struct ia_css_xnr3_config *from,
+ unsigned int size)
{
unsigned int i, j, base;
const unsigned int total_blocks = 4;
@@ -231,9 +229,8 @@ ia_css_xnr3_vmem_encode(
/* Dummy Function added as the tool expects it*/
void
-ia_css_xnr3_debug_dtrace(
- const struct ia_css_xnr3_config *config,
- unsigned int level)
+ia_css_xnr3_debug_dtrace(const struct ia_css_xnr3_config *config,
+ unsigned int level)
{
(void)config;
(void)level;
--
2.43.0
On Sun, May 03, 2026 at 10:54:45AM +0000, Shirin Kaul wrote: > Fix spaces by replacing them with tabs in function calls to comply > with kernel coding style with checkpatch.pl. Subject is wrong. The patch doesn't cover things outside the single file. The patch does two things (has to be split). Also patch doesn't anyhow rely on the preexisted changes that were submitted to the mailing list (that cover much more that this one). > v2: > - Added trailing commas in arrays > - Fixed indentation We have special place for the changelog and comments... > Signed-off-by: Shirin Kaul <shirin.kaul11@gmail.com> > --- ...somewhere here. > .../kernels/xnr/xnr_3.0/ia_css_xnr3.host.c | 29 +++++++++---------- > 1 file changed, 13 insertions(+), 16 deletions(-) -- With Best Regards, Andy Shevchenko
© 2016 - 2026 Red Hat, Inc.