Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1388228pxb; Wed, 16 Feb 2022 18:48:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJybcraohVfWanD82cplZqQPcdBm8eEdsx5WNc7sISOXAk/REkb+PPKV9agffuzug077FaS7 X-Received: by 2002:aa7:9f5b:0:b0:4cc:964c:99dd with SMTP id h27-20020aa79f5b000000b004cc964c99ddmr855286pfr.42.1645066132289; Wed, 16 Feb 2022 18:48:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645066132; cv=none; d=google.com; s=arc-20160816; b=Qg+bDvgyPeQlbivBk0FZYaotgvQDEhXH9WAwR8oBf9AKG5xm6Mr9DZPNWeKVKM0pAE UixKe2GMPIqbcEX/oFTV4yTuvIosfi2lyD5RTttKQzQhltz/lXxpRx8I9D0N6HZ7bTd1 GoxR8Zs4X1eoy6OvpUf94ogJpQER6AYjn5XnZ5O4Ojokwx2lUaS8BlqinmphePzSLoUb zyEksbS9bnFoB+iS/5DmrAw6FnVGx+cZ1zc+8zdD9F8Qu6KDUs40Z2rm6vLabUpO75S0 TArTNRXbYC4XbRREqPY+HPWF0OHOypS+PAfirBRoIqb4nADduVDlfgV4MOuBZOmIlgIU XkKQ== 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=NwHmBWN0rPxIv59KyUDte9WTXobeLNEiiOkrbHHKZUU=; b=LqT5YTEgrjgN2x18OSC+kgf+GwaxwctSeAIKwuRpVL1rMw9Ym/Ll+3xIygTZbhAiWg 8T6gFhQ37sshZ0w1uu05uVylwPWXKrcD9+W7b2e9M55M+w8mvD6F42IEHr97NR8mJfN0 qwDCkBzVJp6HlGX8tuCAPq7GGkhvyqeccjMahEAhl0R2IDmlCUl6aqO8EuIxEPldYwXR 5O9DEORo/mz5qph4SYtcoG8CusYIm83O7havOQBP8hNRXa5DSDXSbAi0cfbmdwKrYQRC UOZ0z7CScgcR2UFT5SNyIwEJK3A356zfhjkv9k3AiGE2bsX8uEc+dgPJY6dm987DQkfA r3Sw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u185si27293819pfb.158.2022.02.16.18.48.36; Wed, 16 Feb 2022 18:48:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230029AbiBQBAo (ORCPT + 99 others); Wed, 16 Feb 2022 20:00:44 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbiBQBAm (ORCPT ); Wed, 16 Feb 2022 20:00:42 -0500 Received: from out30-43.freemail.mail.aliyun.com (out30-43.freemail.mail.aliyun.com [115.124.30.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2C51279935; Wed, 16 Feb 2022 17:00:28 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0V4f6lyc_1645059625; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V4f6lyc_1645059625) by smtp.aliyun-inc.com(127.0.0.1); Thu, 17 Feb 2022 09:00:26 +0800 From: Yang Li To: lhjeff911@gmail.com Cc: broonie@kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] spi: clean up some inconsistent indenting Date: Thu, 17 Feb 2022 09:00:24 +0800 Message-Id: <20220217010024.111904-1-yang.lee@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=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham 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/spi/spi-sunplus-sp7021.c:379 sp7021_spi_slave_transfer_one() warn: inconsistent indenting Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/spi/spi-sunplus-sp7021.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-sunplus-sp7021.c b/drivers/spi/spi-sunplus-sp7021.c index ade7a0fca8cb..f989f7b99296 100644 --- a/drivers/spi/spi-sunplus-sp7021.c +++ b/drivers/spi/spi-sunplus-sp7021.c @@ -376,8 +376,8 @@ static int sp7021_spi_slave_transfer_one(struct spi_controller *ctlr, struct spi xfer->len, DMA_TO_DEVICE); if (dma_mapping_error(dev, xfer->tx_dma)) return -ENOMEM; - ret = sp7021_spi_slave_tx(spi, xfer); - dma_unmap_single(dev, xfer->tx_dma, xfer->len, DMA_TO_DEVICE); + ret = sp7021_spi_slave_tx(spi, xfer); + dma_unmap_single(dev, xfer->tx_dma, xfer->len, DMA_TO_DEVICE); } else if (xfer->rx_buf && !xfer->tx_buf) { xfer->rx_dma = dma_map_single(dev, xfer->rx_buf, xfer->len, DMA_FROM_DEVICE); -- 2.20.1.7.g153144c