public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Liviu I." <liviu.i.2222@gmail.com>
To: gregkh@linuxfoundation.org
Cc: amk@cray.com, liang.zhen@intel.com, uja.ornl@gmail.com,
	emoly.liu@intel.com, rashika.kheria@gmail.com,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Eudyptula Challenge (Task 10)
Date: Mon, 28 Jul 2014 08:13:32 +0100	[thread overview]
Message-ID: <20140728071332.GA3822@gmail.com> (raw)

[-- 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;
 }

             reply	other threads:[~2014-07-28  7:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  7:13 Liviu I. [this message]
2014-07-28  7:37 ` Eudyptula Challenge (Task 10) 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
  -- strict thread matches above, loose matches on Subject: below --
2014-07-27 19:56 Liviu I.
2014-07-27 20:00 ` Greg KH
     [not found] <Eudyptula Challenge (Task 10)>
2014-06-12 10:35 ` Wahib Faizi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140728071332.GA3822@gmail.com \
    --to=liviu.i.2222@gmail.com \
    --cc=amk@cray.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=emoly.liu@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=liang.zhen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rashika.kheria@gmail.com \
    --cc=uja.ornl@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox