Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp522916rwr; Thu, 20 Apr 2023 02:47:48 -0700 (PDT) X-Google-Smtp-Source: AKy350bcweUca1kTt7m/YJnMDii2ZbUfRFdtHI5wYF10ax/cvTEIoIjfox0bpWZyLleEfRB+Kxg3 X-Received: by 2002:a17:902:c7d5:b0:1a6:6b85:7b4a with SMTP id r21-20020a170902c7d500b001a66b857b4amr762010pla.18.1681984068117; Thu, 20 Apr 2023 02:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681984068; cv=none; d=google.com; s=arc-20160816; b=HPMnBIuJX1pWqHOV9Z0IVT/55REvQRw+7ffg6xg5cqiwlQhxX+x8k8i+OqtgbC6Wvh GE97kYBEtWXdGJLOcc8Xe7CzXzcX2ZTm+KVqm0NfoCyVPDeSWafRdN5yEeRh4JEzAmPr syrs3kh/nuwGFb+4mt0gvZ+8JryglUxum5CEAzsOicf50RsOpJECycu/2G1txmwB1Ddx yCOyYNDBXmdlK9Yr7FjNWPFug+6CunpuFv0/Uuanz8CQ2Wu5oAfGyvElHixT2d2qxy49 +TwpTUgIQU2BStM2B81MCwbHBFQ7f/dBS+lFtBm8oKeg5dvDBvrp5GFwiHGOQ9A3rEOs Oplw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IT835FHNi4eC4qAmIN/OZRmU8iTSk2BDGuwcGxroAxI=; b=WZKkbuX8DTeN1hdgvvRqk+yhTGxmNssOP5G5JJ6THUwhoBqyLFQBKLqo8RwSZB6OaU mhT74QDhV2YiJirfutpVw5Oe1VAfczyPFpJARzXJ31WkAy+kyspcuJqKJ0ohLzBD8T9h AZJMAwSXmZlz4qC5IQwLHK4V24C19/+vv7xmTdmu6JoLdYedVP9sBWYtuvWnVvAu4Qbp XbmLynFrqQJd2mZoCglXzPeDJLWrEdpwFGIb+uXJbVaPm1xjw7ZJf0Wqtc6Qd683S8eH Pjm+nljbplTZIZFUtJgMBVvEIYui4j4xjQe16viGpGsrUDNrxJmk97yBAMeKSwQCPrVz AZ4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KYK+ePHN; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a170902654700b001a81a7d3daesi1338108pln.88.2023.04.20.02.47.33; Thu, 20 Apr 2023 02:47:48 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KYK+ePHN; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234449AbjDTJp2 (ORCPT + 99 others); Thu, 20 Apr 2023 05:45:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234609AbjDTJo4 (ORCPT ); Thu, 20 Apr 2023 05:44:56 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C14A1BE; Thu, 20 Apr 2023 02:43:42 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id d2e1a72fcca58-63b509fe13eso658017b3a.1; Thu, 20 Apr 2023 02:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681983822; x=1684575822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IT835FHNi4eC4qAmIN/OZRmU8iTSk2BDGuwcGxroAxI=; b=KYK+ePHNSqDAiv3omCR7zst85XghhmVd3WfUQmuLquIfIrv7OuXytSfqYxfT3MBYiC SxWiDkM+QZ1vRqv90s/96x/79QLaxahLgtAnubH+oOs1DlU6ZaMOOfbT4NIBlgZdWwV5 X6Q7GNNmYx5FU3uTxTHXECOHFAD+I2XN601tLvwc9BtGFVfCWyOItivAz457E66Bk/0/ 4JW9dP6BAap/XPhwD7h4LvHGFUoMmM+X1KrJcva5x7GZTs2m572il1M8jRAv8nwN0l3c NiC+o9mVNgID7RMqXI5C253jmAXMqPENI5TpASNwdY/fGe43RMeRQnUyjA9nzRDCk9nM w+QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681983822; x=1684575822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IT835FHNi4eC4qAmIN/OZRmU8iTSk2BDGuwcGxroAxI=; b=PxIXD2Yi2oV9mxEAVX1B8A4qPnSk/9DJldBr/QXcDmBZIAjzYdTv851uN3VjG857m8 TmYa16WY//fFvd7TZzYBeqPG0i2shJ8584VcfxOAV0Mq35c7zJ9773zCuXJUWIGoFBRg WidePaTk3W8cuSdGzszb3XwKjQdq6skHlrdhHLTu6Ng8cJXrFhfJkNlvHARtDiiXFf3c wCBf4cBZ9aL8jqfpnsJ6QYfLmu+bgtv7orgrRycvhksCB4mIsxNXHHwVf8vw4FyfsCQh 5jCrHcj0A3uXmFCiszv1/KnDCbHJq2b7E1B7MvWJvQKOKY3OOVOT5nX2Sh1Gfl5XPwm7 bIHg== X-Gm-Message-State: AAQBX9emqov8oS55RbWzaThILn92xykZu3byg1H9Tuk4Woz5rpodb2dt dsjtZ9ozdEN8crC67dhmtCI= X-Received: by 2002:a05:6a00:1749:b0:63d:6228:6888 with SMTP id j9-20020a056a00174900b0063d62286888mr883906pfc.3.1681983821659; Thu, 20 Apr 2023 02:43:41 -0700 (PDT) Received: from localhost.localdomain ([43.132.141.8]) by smtp.gmail.com with ESMTPSA id t1-20020a62d141000000b0063b8ce0e860sm874336pfl.21.2023.04.20.02.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 02:43:41 -0700 (PDT) From: korantwork@gmail.com To: dlemoal@kernel.org, helgaas@kernel.org, nirmal.patel@linux.intel.com, kbusch@kernel.org, jonathan.derrick@linux.dev, lpieralisi@kernel.org Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Xinghui Li , Dan Carpenter Subject: [PATCH v2 2/2] PCI: vmd: Clean up one inconsistent indenting warn reported by Smatch Date: Thu, 20 Apr 2023 17:43:32 +0800 Message-Id: <20230420094332.1507900-3-korantwork@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230420094332.1507900-1-korantwork@gmail.com> References: <20230420094332.1507900-1-korantwork@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Xinghui Li There is one inconsistent indenting warning: "drivers/pci/controller/vmd.c:1058 vmd_resume() warn: inconsistent indenting" Fix it by formating its indenting. Reported-by: Dan Carpenter Signed-off-by: Xinghui Li --- drivers/pci/controller/vmd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c index 1a36e9a52b93..1b68fa606bff 100644 --- a/drivers/pci/controller/vmd.c +++ b/drivers/pci/controller/vmd.c @@ -1056,10 +1056,10 @@ static int vmd_resume(struct device *dev) struct vmd_dev *vmd = pci_get_drvdata(pdev); int err, i; - if (vmd->irq_domain) - vmd_set_msi_remapping(vmd, true); - else - vmd_set_msi_remapping(vmd, false); + if (vmd->irq_domain) + vmd_set_msi_remapping(vmd, true); + else + vmd_set_msi_remapping(vmd, false); for (i = 0; i < vmd->msix_count; i++) { err = devm_request_irq(dev, vmd->irqs[i].virq, -- 2.31.1