[greybus-dev] [PATCH 4/9] staging: greybus: manifest: Fix up some alignment checkpatch issues

Viresh Kumar viresh.kumar at linaro.org
Mon Aug 26 06:11:57 UTC 2019


On 25-08-19, 07:54, Greg Kroah-Hartman wrote:
> Some function prototypes do not match the expected alignment formatting
> so fix that up so that checkpatch is happy.
> 
> Cc: Johan Hovold <johan at kernel.org>
> Cc: Alex Elder <elder at kernel.org>
> Cc: greybus-dev at lists.linaro.org
> Cc: devel at driverdev.osuosl.org
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
>  drivers/staging/greybus/manifest.c | 39 +++++++++++++++---------------
>  1 file changed, 19 insertions(+), 20 deletions(-)
> 
> diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c
> index 08db49264f2b..4ebbba52b07c 100644
> --- a/drivers/staging/greybus/manifest.c
> +++ b/drivers/staging/greybus/manifest.c
> @@ -104,15 +104,15 @@ static int identify_descriptor(struct gb_interface *intf,
>  	size_t expected_size;
>  
>  	if (size < sizeof(*desc_header)) {
> -		dev_err(&intf->dev, "manifest too small (%zu < %zu)\n",
> -				size, sizeof(*desc_header));
> +		dev_err(&intf->dev, "manifest too small (%zu < %zu)\n", size,
> +			sizeof(*desc_header));
>  		return -EINVAL;		/* Must at least have header */
>  	}

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh


More information about the devel mailing list