Skip to contentSkip to conversation

: staging: greybus: camera: fix alignment should match open parentheses

PATCH In review Andreas Kleinbichler 2 participants 2 messages Apr 24, 2025 – Apr 25, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : staging: greybus: camera: fix alignment should match open parentheses

Correct the alignment of the parameters to match the open parenthesis.

Reported by checkpatch:

CHECK: Alignment should match open parenthesis

---
 drivers/staging/greybus/camera.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/staging/greybus/camera.c +4 -3
index ec9fddfc0b14..a1b76df39a8f 100644
@@ -263,9 +263,10 @@ static int gb_camera_get_max_pkt_size(struct gb_camera *gcam,
  * Validate the stream configuration response verifying padding is correctly
  * set and the returned number of streams is supported
  */
-static const int gb_camera_configure_streams_validate_response(struct gb_camera *gcam,
-		struct gb_camera_configure_streams_response *resp,
-		unsigned int nstreams)
+static const int gb_camera_configure_streams_validate_response
+	(struct gb_camera *gcam,
+	 struct gb_camera_configure_streams_response *resp,
+	 unsigned int nstreams)
 {
 	unsigned int i;
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 16 lines · Andreas Kleinbichler

Correct the alignment of the parameters to match the open parenthesis.

Reported by checkpatch:

CHECK: Alignment should match open parenthesis

---
 drivers/staging/greybus/camera.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/staging/greybus/camera.c +0 -0
index ec9fddfc0b14..a1b76df39a8f 100644

drivers/staging/greybus/camera.c static int gb_camera_get_max_pkt_size(struct gb_camera *gcam, · line 267

Quoted 8 lines
drivers/staging/greybus/camera.c +2 -3
@@ -263,9 +263,10 @@ static int gb_camera_get_max_pkt_size(struct gb_camera *gcam,
  * Validate the stream configuration response verifying padding is correctly
  * set and the returned number of streams is supported
  */
-static const int gb_camera_configure_streams_validate_response(struct gb_camera *gcam,
-		struct gb_camera_configure_streams_response *resp,
-		unsigned int nstreams)
+static const int gb_camera_configure_streams_validate_response
+	(struct gb_camera *gcam,

But that's not right either :(

There is no real "fix" possible for this warning, sorry.

greg k-h