* [PATCH] [Patch]: staging: greybus: camera: fix alignment should match open parentheses
@ 2025-04-24 16:46 Andreas Kleinbichler
2025-04-25 11:51 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Kleinbichler @ 2025-04-24 16:46 UTC (permalink / raw)
To: Johan Hovold, Alex Elder, Greg Kroah-Hartman, greybus-dev,
linux-staging, linux-kernel
Correct the alignment of the parameters to match the open parenthesis.
Reported by checkpatch:
CHECK: Alignment should match open parenthesis
Signed-off-by: Andreas Kleinbichler <andi.kleinbichler@gmail.com>
---
drivers/staging/greybus/camera.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c
index ec9fddfc0b14..a1b76df39a8f 100644
--- a/drivers/staging/greybus/camera.c
+++ b/drivers/staging/greybus/camera.c
@@ -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;
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [Patch]: staging: greybus: camera: fix alignment should match open parentheses
2025-04-24 16:46 [PATCH] [Patch]: staging: greybus: camera: fix alignment should match open parentheses Andreas Kleinbichler
@ 2025-04-25 11:51 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2025-04-25 11:51 UTC (permalink / raw)
To: Andreas Kleinbichler
Cc: Johan Hovold, Alex Elder, greybus-dev, linux-staging,
linux-kernel
On Thu, Apr 24, 2025 at 06:46:52PM +0200, Andreas Kleinbichler wrote:
> Correct the alignment of the parameters to match the open parenthesis.
>
> Reported by checkpatch:
>
> CHECK: Alignment should match open parenthesis
>
> Signed-off-by: Andreas Kleinbichler <andi.kleinbichler@gmail.com>
> ---
> drivers/staging/greybus/camera.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c
> index ec9fddfc0b14..a1b76df39a8f 100644
> --- a/drivers/staging/greybus/camera.c
> +++ b/drivers/staging/greybus/camera.c
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-25 11:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24 16:46 [PATCH] [Patch]: staging: greybus: camera: fix alignment should match open parentheses Andreas Kleinbichler
2025-04-25 11:51 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox