diff mbox

staging/hfi1: replace indent spaces with tabs

Message ID 1440185182-56772-1-git-send-email-Jeffrey.C.Becker@nasa.gov (mailing list archive)
State Accepted
Headers show

Commit Message

Jeff Becker Aug. 21, 2015, 7:26 p.m. UTC
Running checkpatch.pl on mad.c produces several 
"ERROR: code indent should use tabs where possible" messages.
This patch fixes these.

Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>

---
 drivers/staging/hfi1/mad.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Doug Ledford Sept. 3, 2015, 5:43 p.m. UTC | #1
On 08/21/2015 03:26 PM, Jeff Becker wrote:
> Running checkpatch.pl on mad.c produces several 
> "ERROR: code indent should use tabs where possible" messages.
> This patch fixes these.
> 
> Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>

Thanks, applied.

> ---
>  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;
>
diff mbox

Patch

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;