From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6BF24C0015E for ; Fri, 28 Jul 2023 02:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hy+qpFfDNuPHFoOx4eUx7aGK08ziik81ORuuCMFTPzk=; b=0R8zeqYDLcM3Wn 3mqBjubl5sRdxFbQt7OE6fu5arktkkopKbNWCcbMJPRp2Oq1HH0pyKQ+WIOqurzia00p52Pe6SiU9 HABxCnw9bvYy8Es1UNIxcESuzvxAlPnmE1aUdVGuebz26Z68A1jVzESK8Z/lu7sBO+MM4R7lrEiRK b+D3RL1sx/vZrJZX+fDwmUpW4vMCUIyuoTeAMRwZlcI2QFnhmo6YuAklDjTZAc0ivvA+XceDDYK/d wo1PpMVon/Vrr0oWfGPCSRDYdsKepGkXfKoMaxyMqQWN134gK1zK17eZrNtFStMxM/fUN55S7pDii +6E+r4wIR+8LA9/4pkQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPD6A-001HdU-1S; Fri, 28 Jul 2023 02:20:58 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPD67-001Hc0-0i for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 02:20:56 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3fbc59de0e2so16839925e9.3 for ; Thu, 27 Jul 2023 19:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690510853; x=1691115653; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=KHNmsX1L3exM5YHrmJYSgAuHeoCvpRthm20M/V5rFkE=; b=SG6mS1yNtO+QYeV+X7L7yQMg16efgT9KS5cNzyL9utIIZExEsFpCw6CnpziK7elvuM DgAgH7fcv6+WTL8Jv1R1Kqo2J+mwT6SdQZ7DuAKSrlwaBuuo+zIBpbz5N567bupDIC18 pcP8KdHaxdmpsShfG0p3Df+CPeWlss43RuZF9sbqge6BJ3R4tSwgxwxxUru7aOWQBMs6 Hjz9LZQKpS47Ms2aqxrQ4+6i4HtkFf2ImV0z2FQUW8frClriP/SZsBJcAgMFl7+BIc3a 3u0GdcBsHF1zreUNMpjA2u//SA7y09UZGsDvRXU0qa/Vpr6ZYzTAAiL3FiHjMCCcg/LF 10wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690510853; x=1691115653; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KHNmsX1L3exM5YHrmJYSgAuHeoCvpRthm20M/V5rFkE=; b=KZ3p5M2OkM2p/2/H/RExIvFKvLCXOXj4G5ftMPcOAxycLzcCSN7D5lRhSPuWCcjo2R GSRXRgU7YldcKfnjWsmqi9anli93EAHAkPimn41m6768L3vAbTQI/NVsvYQ/e58enes6 ohQz84QecG9pNlcFe3MSJFO+HtVJEB67X1svS9GMm8PbANV3FeamzxuPCyc2o9NahVVD uocsIGw1FZ/QKFdLyOaLjFq2yC4qoZzuxNYoa32w+dRtSO5deqoxZ1x1txWTGJOYFr+G OHhbQVf6rhq5RHaJw2FpiE/rrARv/+KnGppjI9BG7Tu2iuJ0mfUay5mfDLrOSjiwRaUp E1Ng== X-Gm-Message-State: ABy/qLaTaaQSZU36YgaDbYUkmbkSPVhLvOhaaekwtxbhEOEeeUxRtUR1 snThOSXloxkOip+g8h3bDEB/7Q== X-Google-Smtp-Source: APBJJlFR8XP9KhQ7HlA0NMSR4HTiS68KXrQ8nTstT5QZgD7Argfe9iJajxOMI0nWDbGeqRi3Lvmuaw== X-Received: by 2002:a1c:ed0e:0:b0:3fc:5a3:367c with SMTP id l14-20020a1ced0e000000b003fc05a3367cmr600733wmh.32.1690510852419; Thu, 27 Jul 2023 19:20:52 -0700 (PDT) Received: from [192.168.2.107] ([79.115.63.48]) by smtp.gmail.com with ESMTPSA id w17-20020a05600c015100b003fbfef555d2sm5855974wmm.23.2023.07.27.19.20.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jul 2023 19:20:51 -0700 (PDT) Message-ID: Date: Fri, 28 Jul 2023 03:20:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 5/8] mtd: rawnand: qcom: Fix wrong indentation Content-Language: en-US To: Miquel Raynal , Manivannan Sadhasivam , Md Sadre Alam , Sricharan Ramabadhran Cc: Richard Weinberger , Vignesh Raghavendra , Pratyush Yadav , Michael Walle , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20230716144612.32132-1-miquel.raynal@bootlin.com> <20230716144612.32132-6-miquel.raynal@bootlin.com> From: Tudor Ambarus In-Reply-To: <20230716144612.32132-6-miquel.raynal@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230727_192055_308620_07B6FAC3 X-CRM114-Status: GOOD ( 16.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 7/16/23 15:46, Miquel Raynal wrote: > The main "for" loop in qcom_read_status_exec() does guard the following > to if's which are badly indented. Fix the indentation. > > Signed-off-by: Miquel Raynal Reviewed-by: Tudor Ambarus > --- > drivers/mtd/nand/raw/qcom_nandc.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c > index 554cca3801da..3adc40ef5cf6 100644 > --- a/drivers/mtd/nand/raw/qcom_nandc.c > +++ b/drivers/mtd/nand/raw/qcom_nandc.c > @@ -2722,12 +2722,12 @@ static int qcom_read_status_exec(struct nand_chip *chip, > for (i = 0; i < num_cw; i++) { > flash_status = le32_to_cpu(nandc->reg_read_buf[i]); > > - if (flash_status & FS_MPU_ERR) > - host->status &= ~NAND_STATUS_WP; > + if (flash_status & FS_MPU_ERR) > + host->status &= ~NAND_STATUS_WP; > > - if (flash_status & FS_OP_ERR || > - (i == (num_cw - 1) && (flash_status & FS_DEVICE_STS_ERR))) > - host->status |= NAND_STATUS_FAIL; > + if (flash_status & FS_OP_ERR || > + (i == (num_cw - 1) && (flash_status & FS_DEVICE_STS_ERR))) > + host->status |= NAND_STATUS_FAIL; > } > > flash_status = host->status; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel