Skip to contentSkip to conversation

Staging: lustre: lustre: osc: Insert missing space before '='

PATCH In review Hatice ERTÜRK 2 participants 2 messages Feb 27, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: lustre: osc: Insert missing space before '='

Insert missing space before '=' to improve readability.

This Error found with checkpatch.pl

---
 drivers/staging/lustre/lustre/osc/osc_lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lustre/osc/osc_lock.c +1 -1
index 4456557..350ad49 100644
@@ -1010,7 +1010,7 @@ static int osc_lock_enqueue_wait(const struct lu_env *env,
 	struct cl_lock_descr    *descr   = &lock->cll_descr;
 	struct cl_object_header *hdr     = cl_object_header(descr->cld_obj);
 	struct cl_lock	  *scan;
-	struct cl_lock	  *conflict= NULL;
+	struct cl_lock	  *conflict = NULL;
 	int lockless		     = osc_lock_is_lockless(olck);
 	int rc			   = 0;
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 14 lines · Hatice ERTÜRK

Insert missing space before '=' to improve readability.

This Error found with checkpatch.pl

---
 drivers/staging/lustre/lustre/osc/osc_lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lustre/osc/osc_lock.c +0 -0
index 4456557..350ad49 100644

drivers/staging/lustre/lustre/osc/osc_lock.c static int osc_lock_enqueue_wait(const struct lu_env *env, · line 1015

Quoted 7 lines
drivers/staging/lustre/lustre/osc/osc_lock.c +1 -1
@@ -1010,7 +1010,7 @@ static int osc_lock_enqueue_wait(const struct lu_env *env,
 	struct cl_lock_descr    *descr   = &lock->cll_descr;
 	struct cl_object_header *hdr     = cl_object_header(descr->cld_obj);
 	struct cl_lock	  *scan;
-	struct cl_lock	  *conflict= NULL;
+	struct cl_lock	  *conflict = NULL;
 	int lockless		     = osc_lock_is_lockless(olck);
 	int rc			   = 0;

The = in this code are pretty randomly placed. You could fix everything at once.

julia

Quoted 11 lines
drivers/staging/lustre/lustre/osc/osc_lock.c +0 -1
--

1.9.1

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1425039336-14907-1-git-send-email-haticeerturk27%40gmail.com.
For more options, visit https://groups.google.com/d/optout.