mirror of https://lore.kernel.org/lkml/
 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; 28+ 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] 28+ 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; 28+ 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] 28+ messages in thread

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

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Eudyptula Challenge (Task 10)>
2014-06-12 10:35 ` Eudyptula Challenge (Task 10) Wahib Faizi
2014-06-12 10:35   ` [PATCH] drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c: fix coding style Wahib Faizi
2014-06-12 14:10     ` Greg Kroah-Hartman
2014-06-12 17:32   ` Split patch into 2 logical chunks Wahib Faizi
2014-06-12 17:32     ` [PATCH v2 1/2] drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c: fix coding style Wahib Faizi
2014-06-12 17:54       ` Greg Kroah-Hartman
2014-06-12 17:55         ` Joe Perches
2014-06-12 17:32     ` [PATCH v2 2/2] " Wahib Faizi
2014-06-12 19:09   ` Fix subject line Wahib Faizi
2014-06-12 19:09     ` [PATCH 1/2] staging: usbip: usbip_host_driver.c: avoid assignment in if Wahib Faizi
2014-06-12 19:09     ` [PATCH 2/2] staging: usbip: usbip_host_driver.c: fix line over 80 characters Wahib Faizi
2014-06-12 19:40   ` [PATCH v3 0/2] Fix subject line Wahib Faizi
2014-06-12 19:40     ` [PATCH v3 1/2] staging: usbip: usbip_host_driver.c: avoid assignment in if Wahib Faizi
2014-06-12 19:40     ` [PATCH v3 2/2] staging: usbip: usbip_host_driver.c: fix line over 80 characters Wahib Faizi
2014-06-12 20:25     ` [PATCH v3 0/2] Fix subject line Davidlohr Bueso
2014-06-12 20:35       ` Greg Kroah-Hartman
2014-06-12 20:48         ` Davidlohr Bueso
2014-06-12 21:30           ` Dan Carpenter
2014-06-15 20:28       ` Wahib
2014-06-18  0:30         ` Davidlohr Bueso
2014-07-27 19:56 Eudyptula Challenge (Task 10) Liviu I.
2014-07-27 20:00 ` Greg KH
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

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

all inboxes | Powered by JetHome®