Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532766

Re: [PATCH] Staging: gs_fpgaboot: fix indentation sytle in io.c

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] Staging: gs_fpgaboot: fix indentation sytle in io.c
Date 2016-11-29 22:00 +0100
Message-ID <sIXFo-4YE-33@gated-at.bofh.it> (permalink)
References <sITLr-2xM-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 29, 2016 at 11:46:56AM -0500, Thomas Casey wrote:
> This patch properly aligns a statement with arguments on multiple lines
> found by the checkpatch.pl script
> 
> Signed-off-by: Thomas Casey <tqcasey@gmail.com>
> ---
>  drivers/staging/gs_fpgaboot/io.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/gs_fpgaboot/io.c b/drivers/staging/gs_fpgaboot/io.c
> index c939119..f5799d3 100644
> --- a/drivers/staging/gs_fpgaboot/io.c
> +++ b/drivers/staging/gs_fpgaboot/io.c
> @@ -55,7 +55,7 @@ int xl_supported_prog_bus_width(enum wbus bus_bytes)
>  		break;
>  	default:
>  		pr_err("unsupported program bus width %d\n",
> -				bus_bytes);
> +		       bus_bytes);

Why not just put this all on one line?

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Staging: gs_fpgaboot: fix indentation sytle in io.c Thomas Casey <tqcasey@gmail.com> - 2016-11-29 17:50 +0100
  Re: [PATCH] Staging: gs_fpgaboot: fix indentation sytle in io.c Greg KH <gregkh@linuxfoundation.org> - 2016-11-29 22:00 +0100

csiph-web