Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14439485rwd; Sat, 24 Jun 2023 20:21:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4WTRznZIRtzcgmEyBuUWHpPKMxOPrxbCqXAjK56wbEsy3JYdx5be+nQ69pfM25cs9ROF83 X-Received: by 2002:a05:6808:14c5:b0:39f:393f:688c with SMTP id f5-20020a05680814c500b0039f393f688cmr24691408oiw.22.1687663260625; Sat, 24 Jun 2023 20:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687663260; cv=none; d=google.com; s=arc-20160816; b=RVfDJmvEfPSWuEcoQBqvLuY+9lepWWAUER/OQC2XpjbMr9MFc12jQ1oHMvF9Ae79ZV Kb3+Rj4jJDTgaRz7i8hP57CkPk5/JitiHyB2pRAXlfkuKy1b+AetwFDXz8rwjpPBETB9 t5oVYT2v/8oMTZ6ZqDcHcvfDXS1k+uIzTBBeczlTKGJcuYdJzvf9dhkPAIISblCc/L9M 6c/t9Uy33jNuy/PXmzVO+HAVe5dftTE6QcXoFtPzNz3NOZJc8fMRIUFRMgW9WlwT51UB mxlWHplmGC1FsgcSKJQbd6UknL9ecxP7usGZqUYF44ZU1bmaZm7Aou10O94zoh1YRDfu cNpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+oAhMdsrYTutnkriGc4ra1y92niQ2/QlklHYuzcoSdY=; fh=5X095ObCdZh9QhrVlGRIugC8dkt+afb+9EDHdQbtLbM=; b=stDIm4OhwwrdbHex0JrW3D71r4poVWbyp0CCTUMhXNN5nrPSdMb8MNkFIFBml+0DKF JVD0AJUKm8E6YaMI3ElB4KoTBz5a/8ezxap+spnLkldJ9ao1LqXGzivrx/QPBVHQ3HUt bnLh4gZFt1vR1rNnRho3ojqIfNb+o4v7WyeyC8yNOxnPIAzO4mX5IY7RMV2ySNzQX5i9 br4LEg3LTLSUXwz8Fpy61ilxxxeuhSVnNW9nwVbXpHT0dARxOj9tQrsFqquwQPGRpvM+ a+OIAGfQII9zEr5m0wC9KdGj49taSTcRAql1QVI5p75wY7RJpUyOeNwYy2Wy/NCSooQT zYLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=O1QRclqL; 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 t19-20020a170902e1d300b001b06707ac12si1023178pla.49.2023.06.24.20.20.44; Sat, 24 Jun 2023 20:21:00 -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=O1QRclqL; 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 S230018AbjFYDPL (ORCPT + 99 others); Sat, 24 Jun 2023 23:15:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbjFYDPJ (ORCPT ); Sat, 24 Jun 2023 23:15:09 -0400 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 882CFE70; Sat, 24 Jun 2023 20:15:08 -0700 (PDT) Received: by mail-oi1-x243.google.com with SMTP id 5614622812f47-39ecf336d85so1906308b6e.2; Sat, 24 Jun 2023 20:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687662908; x=1690254908; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+oAhMdsrYTutnkriGc4ra1y92niQ2/QlklHYuzcoSdY=; b=O1QRclqLPvSt+lhIiKYcARiYee8xBqXg5Qu++fqQlUXpVtCIjM/958twYkBZVtZx/V 5ekT8+TBOPxhPP0fvy/iQ2Y3kGtGl5T0ASwyT+IOxhfBSS6W3htMvFpLDZ3LuvajhUwV wzA1dtAOQcuL45qTPDoBG8q6FIyJbhvJf7dZD9RMrj21EnFQ45lrm8b5NDPuuQs5u7cS IHEHJVMR1IDTh1N6NoBXvZKbRiI52o1U1xZKe3i/nNqf2Gm715WLhN4D0LAuv+TWkP5v x7znJNK2U1w14UYmEKXwOugthA3TaIsNNY8urXmHLBCAJ/2oPYI9enlLtzeyqVZejI2x EdZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687662908; x=1690254908; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+oAhMdsrYTutnkriGc4ra1y92niQ2/QlklHYuzcoSdY=; b=AvAfMLdANO+HGkT1VjT00py7ano/vLYtYtqVcxzp4NYo8Nsi32Guo2bqMi421zSCgq DIb4o9Pgpr47ABqtnBeg11FffnNarcUbsNTESLUOlwVJZyTdiXJAblVeAIDnDz3/jxBs uvBq/kKYx4z9tPpE2+JzpzOXGH9SgP7WiixrUcg27Uy+a2Ies5O1JwtUXbjqKFnr1Nwf 6bzdblNaLy2aSwie1M3+2GeoP9FdtNyI1Tc0vV6QBE+lajoFSdTx1L8T/dW2WZU7M7uO EeidAMj4zms9zBWIHQpUuFUY8NUEJC2Mr4DA291+lT4rVMeTy/+httN8ylYM2pBikMV+ qk6Q== X-Gm-Message-State: AC+VfDyaskkIt/GstMZukAlryqQJDNxidILFuohPHI6xY02lU9CRPosa saaJtdj8ddk8hGrkkQXZcNxP/htrMha1o0KBpso= X-Received: by 2002:a05:6808:1441:b0:398:3152:fc35 with SMTP id x1-20020a056808144100b003983152fc35mr35413813oiv.38.1687662907716; Sat, 24 Jun 2023 20:15:07 -0700 (PDT) MIME-Version: 1.0 References: <20230420094332.1507900-1-korantwork@gmail.com> <20230624163314.GD2636347@rocinante> In-Reply-To: <20230624163314.GD2636347@rocinante> From: Xinghui Li Date: Sun, 25 Jun 2023 11:14:59 +0800 Message-ID: Subject: Re: [PATCH v2 0/2] PCI: vmd: Fix two issues in VMD reported by Smatch To: =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= Cc: dlemoal@kernel.org, helgaas@kernel.org, nirmal.patel@linux.intel.com, kbusch@kernel.org, jonathan.derrick@linux.dev, lpieralisi@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Xinghui Li , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Sun, Jun 25, 2023 at 12:33=E2=80=AFAM Krzysztof Wilczy=C5=84ski wrote: > > [1/1] PCI: vmd: Fix uninitialized variable usage in vmd_enable_domain() > https://git.kernel.org/pci/pci/c/0c0206dc4f5b > > > PCI: vmd: Clean up one inconsistent indenting warn reported by Smatch > > Even though this is a very nice clean-up, I did not take this patch at th= is > time, as there has been a similar patch posted in the past, and Christoph > Hellwig suggested, as part of his review, an alternative approach worth > considering. > > Have a look at the following and let me know what you think: > > https://patchwork.kernel.org/project/linux-pci/patch/20221115054847.778= 29-1-jiapeng.chong@linux.alibaba.com/ I think Christoph Hellwig's suggestion is indeed better. So, should I submit a new patch to address this issue? Thanks=EF=BD=9E