Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754236AbbGXNj7 (ORCPT ); Fri, 24 Jul 2015 09:39:59 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:35317 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753790AbbGXNj4 (ORCPT ); Fri, 24 Jul 2015 09:39:56 -0400 From: Aparna Karuthodi To: linux-kernel@vger.kernel.org Cc: Aparna Karuthodi Subject: [PATCH 2/3] [PATCH] staging: lustre: llite: Fix space required before the open parenthesis '(' Date: Fri, 24 Jul 2015 19:08:39 +0530 Message-Id: <1437745119-6188-1-git-send-email-kdasaparna@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1437742001-4179-1-git-send-email-kdasaparna@gmail.com> References: <1437742001-4179-1-git-send-email-kdasaparna@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1097 Lines: 28 Added a space before the open parenthesis '(' Signed-off-by: Aparna Karuthodi --- 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 -- 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/