Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH] media: ipu3: fix line ending with '(' in atomic_inc_return call
@ 2026-07-25 13:20 Shivesh
  0 siblings, 0 replies; only message in thread
From: Shivesh @ 2026-07-25 13:20 UTC (permalink / raw)
  To: sakari.ailus, gregkh
  Cc: bingbu.cao, tian.shu.qiu, mchehab, linux-media, linux-staging,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]

From c753198ad726500786ba04d66d531db4c11e2b03 Mon Sep 17 00:00:00 2001
From: Shivesh <shivesh@example.com>
Date: Sat, 25 Jul 2026 13:18:59 +0000
Subject: [PATCH] media: ipu3: fix line ending with '(' in atomic_inc_return
 call

Move the atomic_inc_return() argument to the same line as the
function call to fix checkpatch 'Lines should not end with a ('
warning.

Signed-off-by: Shivesh <chanelshivesh@gmail.com>
Signed-off-by: Shivesh <shivesh@example.com>
---
 drivers/staging/media/ipu3/ipu3.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/media/ipu3/ipu3.c b/drivers/staging/media/ipu3/ipu3.c
index 84c4d0bf027d..14e30cf913b8 100644
--- a/drivers/staging/media/ipu3/ipu3.c
+++ b/drivers/staging/media/ipu3/ipu3.c
@@ -556,8 +556,7 @@ static irqreturn_t imgu_isr_threaded(int irq, void *imgu_ptr)
 			buf->vid_buf.vbb.vb2_buf.timestamp = ns;
 			buf->vid_buf.vbb.field = V4L2_FIELD_NONE;
 			buf->vid_buf.vbb.sequence =
-				atomic_inc_return(
-				&imgu_pipe->nodes[node].sequence);
+				atomic_inc_return(&imgu_pipe->nodes[node].sequence);
 			dev_dbg(&imgu->pci_dev->dev, "vb2 buffer sequence %d",
 				buf->vid_buf.vbb.sequence);
 		}
-- 
2.53.0


[-- Attachment #2: 0001-media-ipu3-fix-line-ending-with-in-atomic_inc_return.patch --]
[-- Type: application/octet-stream, Size: 1193 bytes --]

From c753198ad726500786ba04d66d531db4c11e2b03 Mon Sep 17 00:00:00 2001
From: Shivesh <shivesh@example.com>
Date: Sat, 25 Jul 2026 13:18:59 +0000
Subject: [PATCH] media: ipu3: fix line ending with '(' in atomic_inc_return
 call

Move the atomic_inc_return() argument to the same line as the
function call to fix checkpatch 'Lines should not end with a ('
warning.

Signed-off-by: Shivesh <chanelshivesh@gmail.com>
Signed-off-by: Shivesh <shivesh@example.com>
---
 drivers/staging/media/ipu3/ipu3.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/media/ipu3/ipu3.c b/drivers/staging/media/ipu3/ipu3.c
index 84c4d0bf027d..14e30cf913b8 100644
--- a/drivers/staging/media/ipu3/ipu3.c
+++ b/drivers/staging/media/ipu3/ipu3.c
@@ -556,8 +556,7 @@ static irqreturn_t imgu_isr_threaded(int irq, void *imgu_ptr)
 			buf->vid_buf.vbb.vb2_buf.timestamp = ns;
 			buf->vid_buf.vbb.field = V4L2_FIELD_NONE;
 			buf->vid_buf.vbb.sequence =
-				atomic_inc_return(
-				&imgu_pipe->nodes[node].sequence);
+				atomic_inc_return(&imgu_pipe->nodes[node].sequence);
 			dev_dbg(&imgu->pci_dev->dev, "vb2 buffer sequence %d",
 				buf->vid_buf.vbb.sequence);
 		}
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-25 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-25 13:20 [PATCH] media: ipu3: fix line ending with '(' in atomic_inc_return call Shivesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox