Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp618785pxb; Thu, 15 Apr 2021 02:31:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYV71b3xWPdUNj/BY2KGAcchlHVTEtL3/0j93BFZ2FPAfy1o9qd32X/MFAQgG93/BwOKKp X-Received: by 2002:a17:903:20ca:b029:eb:6c72:fdbb with SMTP id i10-20020a17090320cab02900eb6c72fdbbmr3007905plb.18.1618479078315; Thu, 15 Apr 2021 02:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618479078; cv=none; d=google.com; s=arc-20160816; b=QIzx7AwUhAYHu/nhpdEn7VGyFdEpCJWgszgyHjkKSWJCZFWXtHlKAWoWA6EFhUPwgh spa420+V6tdbVgGgDkCmvZPax1HbFe/tGaUnOwPxVHRsqCPZxvzo0n9cSxjaoizPxJhp /Is69jyIPr+3S0cbCNp9njxHI7QEzt9eEEWvXl8viGyGxcQJVEuBtCTw/gR28JZOWZ1z 0zR0K5YNYs64sLn3VF7yTcPtuXBOBblg8pKaFKd+x3zv07Zw8CaGA+ksguLXvdiElcvU krfrAn4tGxLL+nbPx8rpdrKg3xPrAbZTiflLADMTwiQQF1/ojpPvACyCIqPoW9iBn3XB 7PKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=yiWNbTnFOdycBnw4Nc1pgNFj9efsESBGhoLVoX+stlM=; b=Vty8zFoNcSqLRe9w0O7ie3qoqUWG9/Wchk0vtReTEqciWulGikCuEu+uzLVnVyqcfw QzJtNV2Klw6/MKKXyjuNn0kxyL3Bolrz6Bl1OvWPzhUTLv1U70V6LsCq4TkrTPJfM3QV pAeCzVPo42DeWgWEZN7eC9W23iA7yrpRulBfHgdUVWhDSc/C6PuRzXHXcm6XYH4iWrCb sC3TSzRmJu4ERt2zppmSLMHt03kRQoGBHK9SvyARF1kbJwkC5kSBeHl9ib2BSp0O3HNg UUcILrABMXDDZlHyGXiCatAHP1Viuq+EYD094va3qg7a2MDu1TwwMYutENPj4oCGsi/b oXDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id il4si2616693pjb.110.2021.04.15.02.31.05; Thu, 15 Apr 2021 02:31:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232030AbhDOJas (ORCPT + 99 others); Thu, 15 Apr 2021 05:30:48 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:33548 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230290AbhDOJar (ORCPT ); Thu, 15 Apr 2021 05:30:47 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R311e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0UVdYADO_1618479022; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UVdYADO_1618479022) by smtp.aliyun-inc.com(127.0.0.1); Thu, 15 Apr 2021 17:30:23 +0800 From: Yang Li To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH] drm/radeon/si: Fix inconsistent indenting Date: Thu, 15 Apr 2021 17:30:20 +0800 Message-Id: <1618479020-38198-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kernel test robot throws below warning -> smatch warnings: drivers/gpu/drm/radeon/si.c:4514 si_vm_packet3_cp_dma_check() warn: inconsistent indenting Fixed the inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/radeon/si.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index 88731b79..d0e94b1 100644 --- a/drivers/gpu/drm/radeon/si.c +++ b/drivers/gpu/drm/radeon/si.c @@ -4511,7 +4511,7 @@ static int si_vm_packet3_cp_dma_check(u32 *ib, u32 idx) } else { for (i = 0; i < (command & 0x1fffff); i++) { reg = start_reg + (4 * i); - if (!si_vm_reg_valid(reg)) { + if (!si_vm_reg_valid(reg)) { DRM_ERROR("CP DMA Bad DST register\n"); return -EINVAL; } -- 1.8.3.1