Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751589AbaG1HNi (ORCPT ); Mon, 28 Jul 2014 03:13:38 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:48357 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750982AbaG1HNh (ORCPT ); Mon, 28 Jul 2014 03:13:37 -0400 Date: Mon, 28 Jul 2014 08:13:32 +0100 From: "Liviu I." 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) Message-ID: <20140728071332.GA3822@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Thank you --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch --- 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; } --azLHFNyN32YCQGCU-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/