Skip to contentSkip to conversation

Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error

PATCH In review Sakshi Vaid 2 participants 2 messages Sep 14, 2015 – Sep 15, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error

Fixed the following error.
WARNING: More than 80 characters in a line.

---
 drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/lustre/lustre/lclient/lcommon_cl.c +2 -1
index 23095bb..68cf1b7 100644
@@ -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)
Signature · 1 line
1.9.1
#1 lore raw
Quoted 5 lines · Sakshi Vaid

Fixed the following error.
WARNING: More than 80 characters in a line.

---

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