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

From: Greg KH
Date: Tue Nov 29 2016 - 15:57:07 EST


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@xxxxxxxxx>
> ---
> 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?