Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755161AbYJ3LuV (ORCPT ); Thu, 30 Oct 2008 07:50:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753440AbYJ3LuH (ORCPT ); Thu, 30 Oct 2008 07:50:07 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:40962 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753421AbYJ3LuF (ORCPT ); Thu, 30 Oct 2008 07:50:05 -0400 Date: Thu, 30 Oct 2008 13:47:20 +0200 (EET) From: "=?ISO-8859-1?Q?Ilpo_J=E4rvinen?=" X-X-Sender: ijjarvin@wrl-59.cs.helsinki.fi To: James.Bottomley@HansenPartnership.com cc: linux-scsi@vger.kernel.org, LKML Subject: [PATCH 10/10] arcmsr: add missing braces to multistatement if block In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; boundary="-696208474-1836378461-1225367149=:7072" Content-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1630 Lines: 43 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---696208474-1836378461-1225367149=:7072 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: Funny, there are plenty of the braces in case block where one does not need them while in here they seem to be forgotten. Signed-off-by: Ilpo J?rvinen --- drivers/scsi/arcmsr/arcmsr_hba.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index f91f79c..b57834b 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c @@ -673,10 +673,11 @@ static void arcmsr_report_ccb_state(struct AdapterControlBlock *acb, \ id = ccb->pcmd->device->id; lun = ccb->pcmd->device->lun; if (!(flag_ccb & ARCMSR_CCBREPLY_FLAG_ERROR)) { - if (acb->devstate[id][lun] == ARECA_RAID_GONE) + if (acb->devstate[id][lun] == ARECA_RAID_GONE) { acb->devstate[id][lun] = ARECA_RAID_GOOD; ccb->pcmd->result = DID_OK << 16; arcmsr_ccb_complete(ccb, 1); + } } else { switch (ccb->arcmsr_cdb.DeviceStatus) { case ARCMSR_DEV_SELECT_TIMEOUT: { -- 1.5.2.2 ---696208474-1836378461-1225367149=:7072-- -- 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/