linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging/hfi1: replace indent spaces with tabs
@ 2015-08-21 19:26 Jeff Becker
       [not found] ` <1440185182-56772-1-git-send-email-Jeffrey.C.Becker-NSQ8wuThN14@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Becker @ 2015-08-21 19:26 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA

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-NSQ8wuThN14@public.gmane.org>

---
 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;
-- 
2.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging/hfi1: replace indent spaces with tabs
       [not found] ` <1440185182-56772-1-git-send-email-Jeffrey.C.Becker-NSQ8wuThN14@public.gmane.org>
@ 2015-09-03 17:43   ` Doug Ledford
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Ledford @ 2015-09-03 17:43 UTC (permalink / raw)
  To: Jeff Becker
  Cc: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1304 bytes --]

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-NSQ8wuThN14@public.gmane.org>

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


-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
              GPG KeyID: 0E572FDD



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-03 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-21 19:26 [PATCH] staging/hfi1: replace indent spaces with tabs Jeff Becker
     [not found] ` <1440185182-56772-1-git-send-email-Jeffrey.C.Becker-NSQ8wuThN14@public.gmane.org>
2015-09-03 17:43   ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).