Linux kernel staging patches
 help / color / mirror / Atom feed
From: Jennifer Guo <guojy.bj@gmail.com>
To: linux-staging@lists.linux.dev
Cc: gregkh@linuxfoundation.org, Jennifer Guo <guojy.bj@gmail.com>
Subject: [PATCH] staging: media: atomisp: fix indentation for more function parameters
Date: Tue, 12 May 2026 13:59:27 -0700	[thread overview]
Message-ID: <20260512205927.44704-1-guojy.bj@gmail.com> (raw)

Change the indentation for function parameters to avoid a '(' at the end
of the line.

This fixes the following checkpatch.pl check for files isys_dma.c,
isys_irq_private.h:

CHECK: Lines should not end with a '('

Signed-off-by: Jennifer Guo <guojy.bj@gmail.com>
---
 .../pci/css_2401_system/host/isys_dma.c       |  5 ++---
 .../css_2401_system/host/isys_irq_private.h   | 21 +++++++------------
 2 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c
index dfa7edefdff8..98a018384a15 100644
--- a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c
+++ b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_dma.c
@@ -13,9 +13,8 @@ const isys2401_dma_channel N_ISYS2401_DMA_CHANNEL_PROCS[N_ISYS2401_DMA_ID] = {
 	N_ISYS2401_DMA_CHANNEL
 };
 
-void isys2401_dma_set_max_burst_size(
-    const isys2401_dma_ID_t	dma_id,
-    uint32_t		max_burst_size)
+void isys2401_dma_set_max_burst_size(const isys2401_dma_ID_t dma_id,
+				     uint32_t max_burst_size)
 {
 	assert(dma_id < N_ISYS2401_DMA_ID);
 	assert((max_burst_size > 0x00) && (max_burst_size <= 0xFF));
diff --git a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h
index 4bd8209aaa01..9159a19a22f2 100644
--- a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h
+++ b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h
@@ -19,9 +19,8 @@
 * @brief Get the isys irq status.
 * Refer to "isys_irq.h" for details.
 */
-void isys_irqc_state_get(
-    const isys_irq_ID_t	isys_irqc_id,
-    isys_irqc_state_t *state)
+void isys_irqc_state_get(const isys_irq_ID_t isys_irqc_id,
+			 isys_irqc_state_t *state)
 {
 	state->edge     = isys_irqc_reg_load(isys_irqc_id, ISYS_IRQ_EDGE_REG_IDX);
 	state->mask     = isys_irqc_reg_load(isys_irqc_id, ISYS_IRQ_MASK_REG_IDX);
@@ -38,9 +37,8 @@ void isys_irqc_state_get(
 * @brief Dump the isys irq status.
 * Refer to "isys_irq.h" for details.
 */
-void isys_irqc_state_dump(
-    const isys_irq_ID_t	isys_irqc_id,
-    const isys_irqc_state_t *state)
+void isys_irqc_state_dump(const isys_irq_ID_t isys_irqc_id,
+			  const isys_irqc_state_t *state)
 {
 	ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE,
 			    "isys irq controller id %d\n\tstatus:0x%x\n\tedge:0x%x\n\tmask:0x%x\n\tenable:0x%x\n\tlevel_not_pulse:0x%x\n",
@@ -55,10 +53,8 @@ void isys_irqc_state_dump(
  + -------------------------------------------------------*/
 
 /* Support functions */
-void isys_irqc_reg_store(
-    const isys_irq_ID_t	isys_irqc_id,
-    const unsigned int	reg_idx,
-    const hrt_data	value)
+void isys_irqc_reg_store(const isys_irq_ID_t isys_irqc_id,
+			 const unsigned int reg_idx, const hrt_data value)
 {
 	unsigned int reg_addr;
 
@@ -72,9 +68,8 @@ void isys_irqc_reg_store(
 	ia_css_device_store_uint32(reg_addr, value);
 }
 
-hrt_data isys_irqc_reg_load(
-    const isys_irq_ID_t	isys_irqc_id,
-    const unsigned int	reg_idx)
+hrt_data isys_irqc_reg_load(const isys_irq_ID_t isys_irqc_id,
+			    const unsigned int reg_idx)
 {
 	unsigned int reg_addr;
 	hrt_data value;
-- 
2.34.1


                 reply	other threads:[~2026-05-12 20:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260512205927.44704-1-guojy.bj@gmail.com \
    --to=guojy.bj@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-staging@lists.linux.dev \
    /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