From: Shirin Kaul <shirin.kaul11@gmail.com>
To: linux-staging@lists.linux.dev
Cc: gregkh@linuxfoundation.org, hansg@kernel.org, mchehab@kernel.org,
sakari.ailus@linux.intel.com, andy@kernel.org,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Shirin Kaul <shirin.kaul11@gmail.com>
Subject: [PATCH v2] staging: atomisp: isp: xnr 3.0 fix whitespace issue
Date: Sun, 3 May 2026 10:54:45 +0000 [thread overview]
Message-ID: <20260503105445.45058-1-shirin.kaul11@gmail.com> (raw)
In-Reply-To: <20260502082516.16302-1-shirin.kaul11@gmail.com>
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
next prev parent reply other threads:[~2026-05-03 10:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-02 8:25 [PATCH] staging: atomisp: isp: xnr 3.0 fix whitespace issue Shirin Kaul
2026-05-02 8:33 ` Andy Shevchenko
2026-05-03 10:54 ` Shirin Kaul [this message]
2026-05-04 8:45 ` [PATCH v2] " 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=20260503105445.45058-1-shirin.kaul11@gmail.com \
--to=shirin.kaul11@gmail.com \
--cc=andy@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hansg@kernel.org \
--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 \
/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