* [PATCH] staging: lustre: fix whitespace coding style issues in libcfs/module.c
@ 2015-07-13 20:10 Lukasz Janyst
2015-07-14 2:52 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Lukasz Janyst @ 2015-07-13 20:10 UTC (permalink / raw)
To: oleg.drokin, andreas.dilger, gregkh, Julia.Lawall, dmiter4ever,
matt.tyler, hejianet, jsimmons, HPDD-discuss, devel,
linux-kernel
This is a patch to the libcfs/module.c file fixing whitespace warnings
found by checkpatch.pl.
Signed-off-by: Lukasz Janyst <lj@buggybrain.net>
---
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 e60b2e9..e964a30 100644
--- a/drivers/staging/lustre/lustre/libcfs/module.c
+++ b/drivers/staging/lustre/lustre/libcfs/module.c
@@ -106,7 +106,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;
@@ -146,7 +146,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,
@@ -158,8 +158,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;
@@ -338,7 +338,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;
}
}
@@ -435,7 +435,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();
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: lustre: fix whitespace coding style issues in libcfs/module.c
2015-07-13 20:10 [PATCH] staging: lustre: fix whitespace coding style issues in libcfs/module.c Lukasz Janyst
@ 2015-07-14 2:52 ` Greg KH
2015-07-14 15:18 ` Lukasz Janyst
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2015-07-14 2:52 UTC (permalink / raw)
To: Lukasz Janyst
Cc: oleg.drokin, andreas.dilger, Julia.Lawall, dmiter4ever,
matt.tyler, hejianet, jsimmons, HPDD-discuss, devel,
linux-kernel
On Mon, Jul 13, 2015 at 10:10:46PM +0200, Lukasz Janyst wrote:
> This is a patch to the libcfs/module.c file fixing whitespace warnings
> found by checkpatch.pl.
This patch no longer applies to my tree due to other patches sent right
before yours. Can you rebase it on the staging-testing branch of
staging.git and resend?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: lustre: fix whitespace coding style issues in libcfs/module.c
2015-07-14 2:52 ` Greg KH
@ 2015-07-14 15:18 ` Lukasz Janyst
0 siblings, 0 replies; 3+ messages in thread
From: Lukasz Janyst @ 2015-07-14 15:18 UTC (permalink / raw)
To: Greg KH
Cc: oleg.drokin, andreas.dilger, Julia.Lawall, dmiter4ever,
matt.tyler, hejianet, jsimmons, HPDD-discuss, devel,
linux-kernel
On Tue, Jul 14, 2015, at 04:52 AM, Greg KH wrote:
> This patch no longer applies to my tree due to other patches sent right
> before yours. Can you rebase it on the staging-testing branch of
> staging.git and resend?
Sure. Lukasz
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-14 15:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-13 20:10 [PATCH] staging: lustre: fix whitespace coding style issues in libcfs/module.c Lukasz Janyst
2015-07-14 2:52 ` Greg KH
2015-07-14 15:18 ` Lukasz Janyst
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.