Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14021267rwd; Sat, 24 Jun 2023 10:22:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ42btWB91bigVP80qNYV3UjHxmWAf/PAKish1CCqbnqIFmCFMTvzaIMqZt8XeWvxk88UcwC X-Received: by 2002:a05:6a00:23c6:b0:668:79c4:a65a with SMTP id g6-20020a056a0023c600b0066879c4a65amr16592278pfc.32.1687627338751; Sat, 24 Jun 2023 10:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687627338; cv=none; d=google.com; s=arc-20160816; b=pqPebIJUcG2ejRAJ+uWhiIoXvVF8u0ewP9KtzVikSO21BipUGqHRNGrpctlXgw8lna GQ7sBAfaew8CvphyXDBLiYjK+/eRYnb0+8QjuOqmTOhu+7JUzEnVS13XEfTf4uySxd1d HWzunsrADUnPHNNUu23OBmXlV43N9EqVLikca7tS6pXDCzjRziWrAJW8kqolV7fJQ/YJ 092C8ayOzCNsSALRt072rP/r5Siesiz/+gIIZeoFOU5dORSNw81nzHsGaBw7mB15tVqN pJFOJ5UI/lyrjxtkiCPH7kfz8xI7jMuzya8sFGA05IE1B8sMaDk3Dx9tNRhK2D3bQ0iS KDhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=PYOlqLww+yl7DKURHVLVUqrkFu6eHQZNsApfZOW1vno=; fh=4JH2xQmv7HTvxVHI/m+StmelSNiKCWR8UO7ydwS2DeM=; b=VYgE8EpcPnbyMgWMm/bXK2LmzeaNJzRHnRAJUz3FsXZaNy3+Eg8Ni3SoR27hH3+e+T kOPoI9/aTogHL40EMIaU0MgRoq6pAMz4suEynMsN58GjC4ht2rfvrxx7PXB+I2yVpYCH ztcMqMOGEv0rwOL77dUL4qU58LJRAxEFTKoawD1P6auASNTKfX2gOugz6JfiCvG1HSg7 hQqO/vc/WGFMXqdXHuGJZ4p9K+tQJaaWmlQFJVHmCxW2xhX5hdrIq/1kybFofGTSHuKa DdIYIMZa0kJ1w1IrneQ2jVLquriIJh/Yh4bZY/fxn50alzdT6QQJZ5Mo3zbIwDC8ovCx au8g== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cq16-20020a056a00331000b006688abf7436si1584653pfb.116.2023.06.24.10.22.03; Sat, 24 Jun 2023 10:22:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbjFXQdT (ORCPT + 99 others); Sat, 24 Jun 2023 12:33:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbjFXQdS (ORCPT ); Sat, 24 Jun 2023 12:33:18 -0400 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A7111BC1; Sat, 24 Jun 2023 09:33:17 -0700 (PDT) Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-262d505f336so98555a91.2; Sat, 24 Jun 2023 09:33:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687624397; x=1690216397; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PYOlqLww+yl7DKURHVLVUqrkFu6eHQZNsApfZOW1vno=; b=HU4FEm5aq8dZLfq+m+rU+bjH4aq5A9opL58/ASrj0bphv+6DHMmqKAlfItg9kG5+3n HKyrJJlv3GsxhC2Y7Kg1OlrA2PSeg3TxgxTpaCSf/8ILFIWnChStRzlGJO0r+YfJoJtl 9r84wrVZybngkccIoonxz6HZ17aEoemdKFYmQhdz4uUhOgVpd08gvFeEaY11+IeCwbtO RwaamLWr47ufrcE7xQ4bD4iInqrf4UPBmBF1qnksxakC13ajkcNiDxOE5FmTJylWp1ld SEh0eSWQwhAd0cgk3rYu7n48HipsZ+K4WSr7SmBljvElkGgURRFlWl0o8efDMe+Zt54Z cGIQ== X-Gm-Message-State: AC+VfDydCkqeulH4iPmVq/hOwEvnx1I55oJLXBJ4ydvUZ8rdFlkcFrzn Yw/Y8qGik3iemwrMt4a0vzKfLuecCpEfgaba X-Received: by 2002:a17:90a:1f82:b0:250:6c76:fd9b with SMTP id x2-20020a17090a1f8200b002506c76fd9bmr16084274pja.38.1687624396685; Sat, 24 Jun 2023 09:33:16 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id w2-20020a17090a380200b00256353eb8f2sm3628811pjb.5.2023.06.24.09.33.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Jun 2023 09:33:15 -0700 (PDT) Date: Sun, 25 Jun 2023 01:33:14 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: korantwork@gmail.com 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 Subject: Re: [PATCH v2 0/2] PCI: vmd: Fix two issues in VMD reported by Smatch Message-ID: <20230624163314.GD2636347@rocinante> References: <20230420094332.1507900-1-korantwork@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230420094332.1507900-1-korantwork@gmail.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 [+CC Christoph] Hello, > Fix two issues when building kernel with Smatch check. > > v1->v2: > According to Damien's suggestion, I split it from 1 patch to 2 different > patches. Change 'inconsistent indenting' patch's title from 'fix' to > 'clean up'. > > Xinghui Li (2): > PCI: vmd: Fix one uninitialized symbol error reported by Smatch Applied to controller/vmd, thank you! [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 this 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.77829-1-jiapeng.chong@linux.alibaba.com/ Krzysztof