All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH TRIVIAL infiniband-diags] ibdiag_common.c: Fix cosmetic formatting issue
@ 2017-04-27 16:56 Hal Rosenstock
       [not found] ` <5c06ade8-c86d-b59c-0ee5-c8309af69676-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2017-04-27 16:56 UTC (permalink / raw)
  To: Weiny, Ira; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA


Change leading spaces into a tab

Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 src/ibdiag_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ibdiag_common.c b/src/ibdiag_common.c
index cbade5b..1f91269 100644
--- a/src/ibdiag_common.c
+++ b/src/ibdiag_common.c
@@ -850,7 +850,7 @@ int vsnprint_field(char *buf, size_t n, enum MAD_FIELDS f, int spacing,
 	int len, i, ret;
 
 	len = strlen(mad_field_name(f));
-        if (len + 2 > n || spacing + 1 > n)
+	if (len + 2 > n || spacing + 1 > n)
 		return 0;
 
 	strncpy(buf, mad_field_name(f), n);
-- 
2.8.4

--
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 TRIVIAL infiniband-diags] ibdiag_common.c: Fix cosmetic formatting issue
       [not found] ` <5c06ade8-c86d-b59c-0ee5-c8309af69676-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2017-04-27 21:27   ` ira.weiny
  0 siblings, 0 replies; 2+ messages in thread
From: ira.weiny @ 2017-04-27 21:27 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On Thu, Apr 27, 2017 at 12:56:47PM -0400, Hal Rosenstock wrote:
> 
> Change leading spaces into a tab
> 
> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Thanks applied,
Ira

> ---
>  src/ibdiag_common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/ibdiag_common.c b/src/ibdiag_common.c
> index cbade5b..1f91269 100644
> --- a/src/ibdiag_common.c
> +++ b/src/ibdiag_common.c
> @@ -850,7 +850,7 @@ int vsnprint_field(char *buf, size_t n, enum MAD_FIELDS f, int spacing,
>  	int len, i, ret;
>  
>  	len = strlen(mad_field_name(f));
> -        if (len + 2 > n || spacing + 1 > n)
> +	if (len + 2 > n || spacing + 1 > n)
>  		return 0;
>  
>  	strncpy(buf, mad_field_name(f), n);
> -- 
> 2.8.4
> 
--
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	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-27 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-27 16:56 [PATCH TRIVIAL infiniband-diags] ibdiag_common.c: Fix cosmetic formatting issue Hal Rosenstock
     [not found] ` <5c06ade8-c86d-b59c-0ee5-c8309af69676-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-04-27 21:27   ` ira.weiny

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.