Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1223967 > unrolled thread

[PATCH] Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error

Started bySakshi Vaid <sakshivaid95@gmail.com>
First post2015-09-14 11:30 +0200
Last post2015-09-15 07:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error Sakshi Vaid <sakshivaid95@gmail.com> - 2015-09-14 11:30 +0200
    Re: [PATCH] Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed  coding style error Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-15 07:10 +0200

#1223967 — [PATCH] Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error

FromSakshi Vaid <sakshivaid95@gmail.com>
Date2015-09-14 11:30 +0200
Subject[PATCH] Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error
Message-ID<q8yfh-254-13@gated-at.bofh.it>
Fixed the following error.
WARNING: More than 80 characters in a line.

Signed-off-by: Sakshi Vaid <sakshivaid95@gmail.com>
---
 drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/lclient/lcommon_cl.c b/drivers/staging/lustre/lustre/lclient/lcommon_cl.c
index 23095bb..68cf1b7 100644
--- a/drivers/staging/lustre/lustre/lclient/lcommon_cl.c
+++ b/drivers/staging/lustre/lustre/lclient/lcommon_cl.c
@@ -828,7 +828,8 @@ int ccc_prep_size(const struct lu_env *env, struct cl_object *obj,
 				 * --bug 17336 */
 				loff_t size = cl_isize_read(inode);
 				loff_t cur_index = start >> PAGE_CACHE_SHIFT;
-				loff_t size_index = ((size - 1) >> PAGE_CACHE_SHIFT);
+				loff_t size_index =
+					((size - 1) >> PAGE_CACHE_SHIFT);
 
 				if ((size == 0 && cur_index != 0) ||
 				    size_index < cur_index)
-- 
1.9.1

--
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/

[toc] | [next] | [standalone]


#1224640 — Re: [PATCH] Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2015-09-15 07:10 +0200
SubjectRe: [PATCH] Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error
Message-ID<q8QFb-3nw-1@gated-at.bofh.it>
In reply to#1223967
On Mon, Sep 14, 2015 at 02:53:11PM +0530, Sakshi Vaid wrote:
> Fixed the following error.
> WARNING: More than 80 characters in a line.
> 
> Signed-off-by: Sakshi Vaid <sakshivaid95@gmail.com>
> ---
This has already been done by 159dc4bff27a ("staging: lustre: lclient:
		remove extra parentheses around right bit shift operation")
Which tree you are using?

regards
sudip
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web