Re: [PATCH] staging: greybus: camera: Fix function declaration alignment

From: Greg KH

Date: Wed Sep 09 2026 - 03:48:40 EST


On Tue, Sep 08, 2026 at 10:40:11PM +0530, S Tarun Kumar Lywait wrote:
> Adhere to Linux kernel coding style. Reported by checkpatch:
> CHECK: Alignment should match open parenthesis
>
> Signed-off-by: S Tarun Kumar Lywait <tarun.k.lywait@xxxxxxxxx>
> ---
> 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 62b55bb28408..9853bd60ff27 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,

That does not look correct at all, what tool asked you to make this type
of change?

thanks,

greg k-h