[PATCH] drivers:staging:hfi1: Fix coding style issues

Doug Ledford dledford at redhat.com
Thu Sep 3 17:58:23 UTC 2015


On 08/21/2015 10:00 AM, lysanovsergey at gmail.com wrote:
> From: Sergey Lysanov <lysanovsergey at gmail.com>
> 
> This patch fixes the following issues reported by checkpatch.pl:
> - code indent should use tabs where possible
> 
> Signed-off-by: Sergey Lysanov <lysanovsergey at gmail.com>

There were two identical patches submitted for this issue and I had
already pulled the first one.

> ---
>  drivers/staging/hfi1/mad.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/staging/hfi1/mad.c b/drivers/staging/hfi1/mad.c
> index 0a18fee..37269eb 100644
> --- a/drivers/staging/hfi1/mad.c
> +++ b/drivers/staging/hfi1/mad.c
> @@ -4075,11 +4075,11 @@ bail:
>  }
>  
>  static int hfi1_process_opa_mad(struct ib_device *ibdev, int mad_flags,
> -			        u8 port, const struct ib_wc *in_wc,
> -			        const struct ib_grh *in_grh,
> -			        const struct opa_mad *in_mad,
> -			        struct opa_mad *out_mad, size_t *out_mad_size,
> -			        u16 *out_mad_pkey_index)
> +				u8 port, const struct ib_wc *in_wc,
> +				const struct ib_grh *in_grh,
> +				const struct opa_mad *in_mad,
> +				struct opa_mad *out_mad, size_t *out_mad_size,
> +				u16 *out_mad_pkey_index)
>  {
>  	int ret;
>  	int pkey_idx;
> 


-- 
Doug Ledford <dledford at redhat.com>
              GPG KeyID: 0E572FDD


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20150903/afcc536f/attachment.asc>


More information about the devel mailing list