Received: by 2002:a19:651b:0:0:0:0:0 with SMTP id z27csp3622320lfb; Mon, 9 May 2022 00:12:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+JYG8n6wmOLCEce7MMRLmYu9GyyiNX65JpSCEjDREzVcnz0ORPDwdcpdh4qiRT2+OLcG8 X-Received: by 2002:a17:90b:4d87:b0:1dc:c03e:3a2c with SMTP id oj7-20020a17090b4d8700b001dcc03e3a2cmr16564353pjb.27.1652080354408; Mon, 09 May 2022 00:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652080354; cv=none; d=google.com; s=arc-20160816; b=CMMwLrYGArqgoSx18qDEi2j7ND8LS0GyVzp3rBzCuJ5f4q7q1p2OUwu3mnlSQJEfR0 8BlKm5orPW48EeJfNfp8l+MfialBabgAzzrU3evFGZxfdc/endyRtZQrQ2/pgSJkBk48 Dflssdpi6eljxVdG9rjj7/IUoaBTPABlyxAAF9CTrYx7r7a9hck1KzKzyRbuKer3/7I+ NePcRjaoePevewBGXaHQPbCWA4hoGLMpIfzcZfNFhJno1rxTklCi5OZos40ehiBpiN18 64pysMC+x5XnMKASMf+ecPgfxRIZe8PG4NZ4dv2b5CSKsP6UeQxuKBizV5pkcrJgnfs3 GjAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=waPdSFu/Nr0BTniTsVM5zuY8Hba3jeRQkm+BN1/4flQ=; b=X/Y2KH05rwSFptS7x+ezGEC3BAZmVJHr1mxxcAAmMxKComyAwmY9shWi5FDcFTUlfs kKNUWavaMB/tXDULLVCTyChgQvsN3I398y3GdMW9yh5PuhlQEOUF9dZLwrf4nOI9f9lI pyhb+6CD8QeVG71poxvRM+8jb6XXjxVK7MYcQ9MBp4MpyYRNAmGI3O+xWckgBHIhLLVe w1uguDnJIbWiQ9GwR5od94HgKpNeMdCc3QbwC90ZqigkaadwV42BgnGKWxEBH1p11szb beD8bEZLBzMYFJdc1rk/jA1RtRUNOMBIwyyAB5gWi4lx8NvjCzD/xXFxlSLe7SkVOP/x rT5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f27-20020a63755b000000b003aab55c72b2si766724pgn.637.2022.05.09.00.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 00:12:34 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 72C5816A256; Mon, 9 May 2022 00:07:37 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376962AbiEGJTz (ORCPT + 99 others); Sat, 7 May 2022 05:19:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230191AbiEGJTy (ORCPT ); Sat, 7 May 2022 05:19:54 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB6AE396BC; Sat, 7 May 2022 02:16:05 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VCWBL74_1651914953; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VCWBL74_1651914953) by smtp.aliyun-inc.com(127.0.0.1); Sat, 07 May 2022 17:16:03 +0800 From: Jiapeng Chong To: tim@cyberelk.net Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 2/2] paride: clean up some inconsistent indenting Date: Sat, 7 May 2022 17:15:35 +0800 Message-Id: <20220507091536.32211-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the follow smatch warning: drivers/block/paride/fit3.c:75 fit3_read_regr() warn: inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/block/paride/fit3.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/block/paride/fit3.c b/drivers/block/paride/fit3.c index 275d269458eb..05bc664829fb 100644 --- a/drivers/block/paride/fit3.c +++ b/drivers/block/paride/fit3.c @@ -60,12 +60,13 @@ static void fit3_write_regr( PIA *pi, int cont, int regr, int val) } static int fit3_read_regr( PIA *pi, int cont, int regr ) - -{ int a, b; +{ + int a, b; if (cont) { - if (regr != 6) return 0xff; - regr = 7; + if (regr != 6) + return 0xff; + regr = 7; } switch (pi->mode) { @@ -88,8 +89,8 @@ static int fit3_read_regr( PIA *pi, int cont, int regr ) return a; } - return -1; + return -1; } static void fit3_read_block( PIA *pi, char * buf, int count ) -- 2.20.1.7.g153144c