Messages in this thread Patch in this message |  | | From | Aparna Karuthodi <> | Subject | [PATCH 2/2] [PATCH] staging: lustre: llite: Fix space required before the open paranthesis '(' | Date | Wed, 3 Jun 2015 15:43:47 +0530 |
| |
Added a space before the open paranthesis '('
Signed-off-by: Aparna Karuthodi <kdasaparna@gmail.com> --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/llite/lproc_llite.c b/drivers/staging/lustre/lustre/llite/lproc_llite.c index aaa13bd..f7b632c 100644 --- a/drivers/staging/lustre/lustre/llite/lproc_llite.c +++ b/drivers/staging/lustre/lustre/llite/lproc_llite.c @@ -1346,7 +1346,7 @@ void ll_rw_stats_tally(struct ll_sb_info *sbi, pid_t pid, lprocfs_oh_clear(&io_extents->pp_extents[cur].pp_w_hist); } - for(i = 0; (count >= (1 << LL_HIST_START << i)) && + for (i = 0; (count >= (1 << LL_HIST_START << i)) && (i < (LL_HIST_MAX - 1)); i++); if (rw == 0) { io_extents->pp_extents[cur].pp_r_hist.oh_buckets[i]++; -- 1.7.9.5
|  |