public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Eudyptula Challenge (Task 10)
@ 2014-07-27 19:56 Liviu I.
  2014-07-27 20:00 ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Liviu I. @ 2014-07-27 19:56 UTC (permalink / raw)
  To: gregkh, amk, liang.zhen, uja.ornl, emoly.liu, rashika.kheria,
	devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 160 bytes --]

Hello Kernel Developers!

I've attached a small patch to fix a coding style problem and make checkpatch happy, as part of challenge 10 of Eudyptula.

Thank you

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 444 bytes --]

--- drivers/staging/lustre/lustre/ldlm/ldlm_extent.c.orig	2014-07-27 20:26:53.714161698 +0100
+++ drivers/staging/lustre/lustre/ldlm/ldlm_extent.c	2014-07-27 20:27:50.410159692 +0100
@@ -151,7 +151,8 @@ static inline int lock_mode_to_index(ldl
 
 	LASSERT(mode != 0);
 	LASSERT(IS_PO2(mode));
-	for (index = -1; mode; index++, mode >>= 1) ;
+	for (index = -1; mode; index++, mode >>= 1)
+		;
 	LASSERT(index < LCK_MODE_NUM);
 	return index;
 }

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Eudyptula Challenge (Task 10)
@ 2014-07-28  7:13 Liviu I.
  2014-07-28  7:37 ` Dan Carpenter
  2014-07-28 12:53 ` Christoph Hellwig
  0 siblings, 2 replies; 9+ messages in thread
From: Liviu I. @ 2014-07-28  7:13 UTC (permalink / raw)
  To: gregkh
  Cc: amk, liang.zhen, uja.ornl, emoly.liu, rashika.kheria, devel,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

Hello Kernel Developers!

I've attached a small patch to fix a coding style problem and make checkpatch happy, as part of challenge 10 of Eudyptula.

Signed-off-by: Liviu Itoafa <liviu.i.2222@gmail.com>

Thank you

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 444 bytes --]

--- drivers/staging/lustre/lustre/ldlm/ldlm_extent.c.orig	2014-07-27 20:26:53.714161698 +0100
+++ drivers/staging/lustre/lustre/ldlm/ldlm_extent.c	2014-07-27 20:27:50.410159692 +0100
@@ -151,7 +151,8 @@ static inline int lock_mode_to_index(ldl
 
 	LASSERT(mode != 0);
 	LASSERT(IS_PO2(mode));
-	for (index = -1; mode; index++, mode >>= 1) ;
+	for (index = -1; mode; index++, mode >>= 1)
+		;
 	LASSERT(index < LCK_MODE_NUM);
 	return index;
 }

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <Eudyptula Challenge (Task 10)>]

end of thread, other threads:[~2014-07-28 15:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-27 19:56 Eudyptula Challenge (Task 10) Liviu I.
2014-07-27 20:00 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2014-07-28  7:13 Liviu I.
2014-07-28  7:37 ` Dan Carpenter
2014-07-28 12:53 ` Christoph Hellwig
2014-07-28 13:58   ` Lucas Tanure
2014-07-28 14:07     ` Denis Kirjanov
2014-07-28 15:46   ` Jason Cooper
     [not found] <Eudyptula Challenge (Task 10)>
2014-06-12 10:35 ` Wahib Faizi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox