From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965513AbbJ2X3B (ORCPT ); Thu, 29 Oct 2015 19:29:01 -0400 Received: from smtp1.ccs.ornl.gov ([160.91.199.38]:35536 "EHLO smtp1.ccs.ornl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757924AbbJ2X23 (ORCPT ); Thu, 29 Oct 2015 19:28:29 -0400 From: James Simmons To: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Oleg Drokin , Andreas Dilger Cc: Linux Kernel Mailing List , lustre-devel@lists.lustre.org, James Simmons Subject: [PATCH 2/3] staging: lustre: white space cleanups for nidstring.c Date: Thu, 29 Oct 2015 19:28:22 -0400 Message-Id: <1446161303-798-3-git-send-email-jsimmons@infradead.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1446161303-798-1-git-send-email-jsimmons@infradead.org> References: <1446161303-798-1-git-send-email-jsimmons@infradead.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the remaining white spaces in nidstring.c. Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/lnet/nidstrings.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/nidstrings.c b/drivers/staging/lustre/lnet/lnet/nidstrings.c index ee04c3b..7df8599 100644 --- a/drivers/staging/lustre/lnet/lnet/nidstrings.c +++ b/drivers/staging/lustre/lnet/lnet/nidstrings.c @@ -799,11 +799,11 @@ libcfs_ip_addr2str(__u32 addr, char *str, size_t size) static int libcfs_ip_str2addr(const char *str, int nob, __u32 *addr) { - unsigned int a; - unsigned int b; - unsigned int c; - unsigned int d; - int n = nob; /* XscanfX */ + unsigned int a; + unsigned int b; + unsigned int c; + unsigned int d; + int n = nob; /* XscanfX */ /* numeric IP? */ if (sscanf(str, "%u.%u.%u.%u%n", &a, &b, &c, &d, &n) >= 4 && @@ -902,7 +902,7 @@ libcfs_decnum_addr2str(__u32 addr, char *str, size_t size) static int libcfs_num_str2addr(const char *str, int nob, __u32 *addr) { - int n; + int n; n = nob; if (sscanf(str, "0x%x%n", addr, &n) >= 1 && n == nob) @@ -931,7 +931,7 @@ static int libcfs_num_parse(char *str, int len, struct list_head *list) { struct cfs_expr_list *el; - int rc; + int rc; rc = cfs_expr_list_parse(str, len, 0, MAX_NUMERIC_VALUE, &el); if (rc == 0) @@ -1054,7 +1054,7 @@ libcfs_namenum2netstrfns(const char *name) static struct netstrfns * libcfs_name2netstrfns(const char *name) { - int i; + int i; for (i = 0; i < libcfs_nnetstrfns; i++) if (!strcmp(libcfs_netstrfns[i].nf_name, name)) @@ -1201,7 +1201,7 @@ libcfs_str2net_internal(const char *str, __u32 *net) __u32 libcfs_str2net(const char *str) { - __u32 net; + __u32 net; if (libcfs_str2net_internal(str, &net)) return net; -- 1.7.1