Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1228926

[PATCH] staging: lustre: lustre: libcfs: Removed a space

From Anjali Menon <cse.anjalimenon@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] staging: lustre: lustre: libcfs: Removed a space
Date 2015-09-20 19:40 +0200
Message-ID <qaQKJ-6BU-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Removed space between function name and open paranthesis
detected by checkpatch.pl

112: WARNING: space prohibited between function name and open
parenthesis '('
152: WARNING: space prohibited between function name and open
parenthesis '('
164: WARNING: space prohibited between function name and open
parenthesis '('
165: WARNING: space prohibited between function name and open
parenthesis '('
345: WARNING: space prohibited between function name and open
parenthesis '('
447: WARNING: space prohibited between function name and open
parenthesis '('

Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com>
---
 drivers/staging/lustre/lustre/libcfs/module.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/lustre/lustre/libcfs/module.c b/drivers/staging/lustre/lustre/libcfs/module.c
index 7d0427b..4216592 100644
--- a/drivers/staging/lustre/lustre/libcfs/module.c
+++ b/drivers/staging/lustre/lustre/libcfs/module.c
@@ -109,7 +109,7 @@ enum {
 	PSDEV_LNET_FAIL_VAL,      /* userdata for fail loc */
 };
 
-static void kportal_memhog_free (struct libcfs_device_userstate *ldu)
+static void kportal_memhog_free(struct libcfs_device_userstate *ldu)
 {
 	struct page **level0p = &ldu->ldu_memhog_root_page;
 	struct page **level1p;
@@ -149,7 +149,7 @@ static void kportal_memhog_free (struct libcfs_device_userstate *ldu)
 		*level0p = NULL;
 	}
 
-	LASSERT (ldu->ldu_memhog_pages == 0);
+	LASSERT(ldu->ldu_memhog_pages == 0);
 }
 
 static int kportal_memhog_alloc(struct libcfs_device_userstate *ldu, int npages,
@@ -161,8 +161,8 @@ static int kportal_memhog_alloc(struct libcfs_device_userstate *ldu, int npages,
 	int	   count1;
 	int	   count2;
 
-	LASSERT (ldu->ldu_memhog_pages == 0);
-	LASSERT (ldu->ldu_memhog_root_page == NULL);
+	LASSERT(ldu->ldu_memhog_pages == 0);
+	LASSERT(ldu->ldu_memhog_root_page == NULL);
 
 	if (npages < 0)
 		return -EINVAL;
@@ -342,7 +342,7 @@ static int libcfs_ioctl_int(struct cfs_psdev_file *pfile, unsigned long cmd,
 			if (err != -EINVAL) {
 				if (err == 0)
 					err = libcfs_ioctl_popdata(arg,
-							data, sizeof (*data));
+							data, sizeof(*data));
 				break;
 			}
 		}
@@ -444,7 +444,7 @@ static int init_libcfs_module(void)
 		goto cleanup_crypto;
 	}
 
-	CDEBUG (D_OTHER, "portals setup OK\n");
+	CDEBUG(D_OTHER, "portals setup OK\n");
 	return 0;
  cleanup_crypto:
 	cfs_crypto_unregister();
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] staging: lustre: lustre: libcfs: Removed a space Anjali Menon <cse.anjalimenon@gmail.com> - 2015-09-20 19:40 +0200
  Re: [PATCH] staging: lustre: lustre: libcfs: Removed a space Greg KH <gregkh@linuxfoundation.org> - 2015-09-21 06:40 +0200

csiph-web