* [PATCH] staging: lustre: lnet: lnet: fixed space coding style issues
@ 2013-12-04 21:13 Samuel Dominguez
2013-12-04 22:59 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Samuel Dominguez @ 2013-12-04 21:13 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel
>From 187369f55f9f9bc58c87fc1ac118143db5735033 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Samuel=20Dom=C3=ADnguez?=
<samuel.dominguez.lorenzo@gmail.com>
Date: Wed, 4 Dec 2013 20:35:41 +0000
Subject: [PATCH] staging: lustre: lnet: lnet: fixed space coding style issues
Fixed a coding style issue.
Signed-off-by: Samuel Dominguez <samuel.dominguez.lorenzo@gmail.com>
---
drivers/staging/lustre/lnet/lnet/lib-msg.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lnet/lnet/lib-msg.c b/drivers/staging/lustre/lnet/lnet/lib-msg.c
index 61ae88b..761f1e1 100644
--- a/drivers/staging/lustre/lnet/lnet/lib-msg.c
+++ b/drivers/staging/lustre/lnet/lnet/lib-msg.c
@@ -43,7 +43,7 @@
#include <linux/lnet/lib-lnet.h>
void
-lnet_build_unlink_event (lnet_libmd_t *md, lnet_event_t *ev)
+lnet_build_unlink_event(lnet_libmd_t *md, lnet_event_t *ev)
{
memset(ev, 0, sizeof(*ev));
@@ -362,7 +362,7 @@ lnet_complete_msg_locked(lnet_msg_t *msg, int cpt)
int rc;
int status = msg->msg_ev.status;
- LASSERT (msg->msg_onactivelist);
+ LASSERT(msg->msg_onactivelist);
if (status == 0 && msg->msg_ack) {
/* Only send an ACK if the PUT completed successfully */
@@ -432,7 +432,7 @@ lnet_complete_msg_locked(lnet_msg_t *msg, int cpt)
}
void
-lnet_finalize (lnet_ni_t *ni, lnet_msg_t *msg, int status)
+lnet_finalize(lnet_ni_t *ni, lnet_msg_t *msg, int status)
{
struct lnet_msg_container *container;
int my_slot;
@@ -440,7 +440,7 @@ lnet_finalize (lnet_ni_t *ni, lnet_msg_t *msg, int status)
int rc;
int i;
- LASSERT (!in_interrupt ());
+ LASSERT(!in_interrupt());
if (msg == NULL)
return;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] staging: lustre: lnet: lnet: fixed space coding style issues
2013-12-04 21:13 [PATCH] staging: lustre: lnet: lnet: fixed space coding style issues Samuel Dominguez
@ 2013-12-04 22:59 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2013-12-04 22:59 UTC (permalink / raw)
To: Samuel Dominguez; +Cc: linux-kernel
On Wed, Dec 04, 2013 at 09:13:48PM +0000, Samuel Dominguez wrote:
> >From 187369f55f9f9bc58c87fc1ac118143db5735033 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Samuel=20Dom=C3=ADnguez?=
> <samuel.dominguez.lorenzo@gmail.com>
> Date: Wed, 4 Dec 2013 20:35:41 +0000
> Subject: [PATCH] staging: lustre: lnet: lnet: fixed space coding style issues
Please just use 'git send-email' directly, so I don't have to edit out
this cruft from the body of the email.
>
> Fixed a coding style issue.
Which one?
care to try this again?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] staging: lustre: lnet: lnet: fixed space coding style issues
@ 2013-12-05 16:16 Samuel Dominguez
0 siblings, 0 replies; 3+ messages in thread
From: Samuel Dominguez @ 2013-12-05 16:16 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, Samuel Domínguez
From: Samuel Domínguez <samuel.dominguez.lorenzo@gmail.com>
Fixed a coding style issue with spaces between function names and arguments:
func (x) -> func(x)
Signed-off-by: Samuel Dominguez <samuel.dominguez.lorenzo@gmail.com>
---
drivers/staging/lustre/lnet/lnet/lib-msg.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lnet/lnet/lib-msg.c b/drivers/staging/lustre/lnet/lnet/lib-msg.c
index 61ae88b..761f1e1 100644
--- a/drivers/staging/lustre/lnet/lnet/lib-msg.c
+++ b/drivers/staging/lustre/lnet/lnet/lib-msg.c
@@ -43,7 +43,7 @@
#include <linux/lnet/lib-lnet.h>
void
-lnet_build_unlink_event (lnet_libmd_t *md, lnet_event_t *ev)
+lnet_build_unlink_event(lnet_libmd_t *md, lnet_event_t *ev)
{
memset(ev, 0, sizeof(*ev));
@@ -362,7 +362,7 @@ lnet_complete_msg_locked(lnet_msg_t *msg, int cpt)
int rc;
int status = msg->msg_ev.status;
- LASSERT (msg->msg_onactivelist);
+ LASSERT(msg->msg_onactivelist);
if (status == 0 && msg->msg_ack) {
/* Only send an ACK if the PUT completed successfully */
@@ -432,7 +432,7 @@ lnet_complete_msg_locked(lnet_msg_t *msg, int cpt)
}
void
-lnet_finalize (lnet_ni_t *ni, lnet_msg_t *msg, int status)
+lnet_finalize(lnet_ni_t *ni, lnet_msg_t *msg, int status)
{
struct lnet_msg_container *container;
int my_slot;
@@ -440,7 +440,7 @@ lnet_finalize (lnet_ni_t *ni, lnet_msg_t *msg, int status)
int rc;
int i;
- LASSERT (!in_interrupt ());
+ LASSERT(!in_interrupt());
if (msg == NULL)
return;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-05 16:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-04 21:13 [PATCH] staging: lustre: lnet: lnet: fixed space coding style issues Samuel Dominguez
2013-12-04 22:59 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2013-12-05 16:16 Samuel Dominguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox