All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes
@ 2026-07-12 11:59 A. Kalimov
  2026-07-12 11:59 ` [PATCH v3 1/2] staging: media: atomisp: remove unnecessary return statement A. Kalimov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: A. Kalimov @ 2026-07-12 11:59 UTC (permalink / raw)
  To: error27, gregkh, hansg, andy
  Cc: mchehab, sakari.ailus, linux-staging, linux-media, linux-kernel,
	A. Kalimov

This series fixes a checkpatch warning regarding indentation and removes an
unnecessary return statement in atomisp_cmd.c.

Changes in v3:
- Added missing commit descriptions to pass Media CI checks and address Dan Carpenter's feedback.


A. Kalimov (2):
  staging: media: atomisp: remove unnecessary return statement
  staging: media: atomisp: fix function arguments indentation

 .../staging/media/atomisp/pci/atomisp_cmd.c    | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v3 1/2] staging: media: atomisp: remove unnecessary return statement
  2026-07-12 11:59 [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes A. Kalimov
@ 2026-07-12 11:59 ` A. Kalimov
  2026-07-12 11:59 ` [PATCH v3 2/2] staging: media: atomisp: fix function arguments indentation A. Kalimov
  2026-07-14  9:29 ` [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes Andy Shevchenko
  2 siblings, 0 replies; 4+ messages in thread
From: A. Kalimov @ 2026-07-12 11:59 UTC (permalink / raw)
  To: error27, gregkh, hansg, andy
  Cc: mchehab, sakari.ailus, linux-staging, linux-media, linux-kernel,
	A. Kalimov

Remove the unnecessary return statement at the end of the void function.
This cleans up the code and aligns it with the kernel coding style.

Signed-off-by: A. Kalimov <erqeon@gmail.com>
---
 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
index 6cd500d9f..81d0afae8 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
@@ -1419,7 +1419,6 @@ static void atomisp_update_grid_info(struct atomisp_sub_device *asd,
 
 err:
 	atomisp_css_free_stat_buffers(asd);
-	return;
 }
 
 static void atomisp_curr_user_grid_info(struct atomisp_sub_device *asd,
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v3 2/2] staging: media: atomisp: fix function arguments indentation
  2026-07-12 11:59 [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes A. Kalimov
  2026-07-12 11:59 ` [PATCH v3 1/2] staging: media: atomisp: remove unnecessary return statement A. Kalimov
@ 2026-07-12 11:59 ` A. Kalimov
  2026-07-14  9:29 ` [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes Andy Shevchenko
  2 siblings, 0 replies; 4+ messages in thread
From: A. Kalimov @ 2026-07-12 11:59 UTC (permalink / raw)
  To: error27, gregkh, hansg, andy
  Cc: mchehab, sakari.ailus, linux-staging, linux-media, linux-kernel,
	A. Kalimov

Fix standard checkpatch indentation warning in atomisp_cmd.c by properly
aligning function arguments with the open parenthesis.

Signed-off-by: A. Kalimov <erqeon@gmail.com>
---
 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
index 81d0afae8..d741f4f04 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
@@ -1883,9 +1883,8 @@ int atomisp_calculate_real_zoom_region(struct atomisp_sub_device *asd,
 /*
  * Function to check the zoom region whether is effective
  */
-static bool atomisp_check_zoom_region(
-    struct atomisp_sub_device *asd,
-    struct ia_css_dz_config *dz_config)
+static bool atomisp_check_zoom_region(struct atomisp_sub_device *asd,
+				      struct ia_css_dz_config *dz_config)
 {
 	struct atomisp_resolution  config;
 	bool flag = false;
@@ -1918,9 +1917,8 @@ static bool atomisp_check_zoom_region(
 	return flag;
 }
 
-void atomisp_apply_css_parameters(
-    struct atomisp_sub_device *asd,
-    struct atomisp_css_params *css_param)
+void atomisp_apply_css_parameters(struct atomisp_sub_device *asd,
+				  struct atomisp_css_params *css_param)
 {
 	if (css_param->update_flag.wb_config)
 		asd->params.config.wb_config = &css_param->wb_config;
@@ -3893,10 +3891,9 @@ enum mipi_port_id atomisp_port_to_mipi_port(struct atomisp_device *isp,
 	}
 }
 
-static inline int atomisp_set_sensor_mipi_to_isp(
-    struct atomisp_sub_device *asd,
-    enum atomisp_input_stream_id stream_id,
-    struct camera_mipi_info *mipi_info)
+static inline int atomisp_set_sensor_mipi_to_isp(struct atomisp_sub_device *asd,
+						 enum atomisp_input_stream_id stream_id,
+						 struct camera_mipi_info *mipi_info)
 {
 	struct v4l2_control ctrl;
 	struct atomisp_device *isp = asd->isp;
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes
  2026-07-12 11:59 [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes A. Kalimov
  2026-07-12 11:59 ` [PATCH v3 1/2] staging: media: atomisp: remove unnecessary return statement A. Kalimov
  2026-07-12 11:59 ` [PATCH v3 2/2] staging: media: atomisp: fix function arguments indentation A. Kalimov
@ 2026-07-14  9:29 ` Andy Shevchenko
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2026-07-14  9:29 UTC (permalink / raw)
  To: A. Kalimov
  Cc: error27, gregkh, hansg, andy, mchehab, sakari.ailus,
	linux-staging, linux-media, linux-kernel

On Sun, Jul 12, 2026 at 03:59:23PM +0400, A. Kalimov wrote:
> This series fixes a checkpatch warning regarding indentation and removes an
> unnecessary return statement in atomisp_cmd.c.
> 
> Changes in v3:
> - Added missing commit descriptions to pass Media CI checks and address Dan Carpenter's feedback.

Have you browsed the mailing list archives for the last ~6 months?
I believe there were contributions like this that were more comprehensive.
Please, double check that you update all the cases.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-14  9:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-12 11:59 [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes A. Kalimov
2026-07-12 11:59 ` [PATCH v3 1/2] staging: media: atomisp: remove unnecessary return statement A. Kalimov
2026-07-12 11:59 ` [PATCH v3 2/2] staging: media: atomisp: fix function arguments indentation A. Kalimov
2026-07-14  9:29 ` [PATCH v3 0/2] staging: media: atomisp: cleanups and style fixes Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.