From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752821AbbGNPWh (ORCPT ); Tue, 14 Jul 2015 11:22:37 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44788 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751719AbbGNPWf (ORCPT ); Tue, 14 Jul 2015 11:22:35 -0400 X-Sasl-enc: RRmUEpJkhxoDiihJtyOc5/AgutLGK2yPSIgI6dee0B/f 1436887353 From: Lukasz Janyst To: oleg.drokin@intel.com, andreas.dilger@intel.com, gregkh@linuxfoundation.org, Julia.Lawall@lip6.fr, dmiter4ever@gmail.com, matt.tyler@flashics.com, hejianet@gmail.com, jsimmons@infradead.org, HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCHv2] staging: lustre: fix whitespace coding style issues in libcfs/module.c Date: Tue, 14 Jul 2015 17:22:21 +0200 Message-Id: <1436887341-13375-1-git-send-email-lj@buggybrain.net> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a patch to the libcfs/module.c file fixing whitespace warnings found by checkpatch.pl. Signed-off-by: Lukasz Janyst --- 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 0ed2658..1ab4232 100644 --- a/drivers/staging/lustre/lustre/libcfs/module.c +++ b/drivers/staging/lustre/lustre/libcfs/module.c @@ -80,7 +80,7 @@ extern char lnet_upcall[1024]; */ extern char lnet_debug_log_upcall[1024]; -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; @@ -120,7 +120,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, @@ -132,8 +132,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; @@ -312,7 +312,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; } } @@ -404,7 +404,7 @@ static int init_libcfs_module(void) insert_debugfs(); - CDEBUG (D_OTHER, "portals setup OK\n"); + CDEBUG(D_OTHER, "portals setup OK\n"); return 0; cleanup_wi: cfs_wi_shutdown(); -- 2.1.4