[PATCH] staging: sm750fb: fix checkpatch line over 80

Greg KH greg at kroah.com
Sun Mar 12 14:05:34 UTC 2017


On Sat, Mar 11, 2017 at 01:55:55PM +0100, Thibaut SAUTEREAU wrote:
> Fix checkpatch.pl warning about line over 80 characters by breaking function
> parameters into two lines.
> 
> Signed-off-by: Thibaut SAUTEREAU <thibaut.sautereau at telecom-sudparis.eu>
> ---
>  drivers/staging/sm750fb/ddk750_chip.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
> index 9e49298103bb..5422fc9f53ba 100644
> --- a/drivers/staging/sm750fb/ddk750_chip.c
> +++ b/drivers/staging/sm750fb/ddk750_chip.c
> @@ -309,7 +309,8 @@ int ddk750_init_hw(struct initchip_param *pInitParam)
>   * M = {1,...,255}
>   * N = {2,...,15}
>   */
> -unsigned int sm750_calc_pll_value(unsigned int request_orig, struct pll_value *pll)
> +unsigned int sm750_calc_pll_value(unsigned int request_orig,
> +					struct pll_value *pll)

But now you have a new checkpatch warning :(

Please fix it up correct the first time.

thanks,

greg k-h


More information about the devel mailing list