Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3746899iog; Tue, 21 Jun 2022 05:16:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sNa+0Y7lgvxyTZcPAOPmXNPvKFoP3vwki29yiPNHMLGwx4QBe2rKUuEnFfRlskEr4lJTru X-Received: by 2002:a17:907:6e8c:b0:722:b0b6:ea5 with SMTP id sh12-20020a1709076e8c00b00722b0b60ea5mr11033825ejc.39.1655813781870; Tue, 21 Jun 2022 05:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655813781; cv=none; d=google.com; s=arc-20160816; b=mJyHizAwZeMSxE1/Bc2ljMGMuexuKdtOq9PYqgBNZS4S+lMssaZGMGFjXmTL9ET+GS FdwMM4Y622FEkXtUq+qTz7AvoKXm03PSzhtqnNl6oNQ5jURx33jDiU5F8IfCZ2RC9CIv bABMnj+Q+R2lvu8CvoI5k/eUto8pXozZKPKY0hTVJh3NsLJs/2rCw/ZjzzZ+ZHcSlIHb bPLMrXu3liuUEEVARX7pJi7UXwZ3rKeBqGw4wFIDVLNoI1M3iN3+vGsZdGH5oWw/7fDc f3ziSLGCSkv5mztiEDnItdigV1hG+FMQF16Kv0Sc8AXZ1E34fERoyxl9EvLC41KLYKbR xkiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uevWHMkFedv1JYNjcle/MNOPi4PYNmoG+pgX3dgloxA=; b=O7MJzqMMNbXK9+stgRw1oS4OtDtOpRVCOb9h2JNt3v0SfPrzUXIEguKkDatKjJqmDf gcuviEiBqbzlsjMctYe9RAMAqgvQO3SRjFUWf3VBRHZmJslMe5weV77ZtaudUtY8jLUX 5wKjyqF9OPko6LI3snw9xdREyxKb2LY2c+wwvapNFyrwFDmfdLJnyJRRufu9NgiV9w78 03wkgjc6CdGIK2DMk8YmTpEGMzVXRtyyv3FOf7I+8wn1iakECZZXqnylfcZgD2/pw6qo xBWi259cjb6djZSdJ3Cp+aAan08sWHH0IlLY81bJxb346BB9OyZxbeEaveir8vhPk+QE uP/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DsO29diP; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a056402351300b004355a7e1499si16726243edd.367.2022.06.21.05.15.54; Tue, 21 Jun 2022 05:16:21 -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=@intel.com header.s=Intel header.b=DsO29diP; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350242AbiFUL5P (ORCPT + 99 others); Tue, 21 Jun 2022 07:57:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350206AbiFUL5M (ORCPT ); Tue, 21 Jun 2022 07:57:12 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 816A52AE38 for ; Tue, 21 Jun 2022 04:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655812631; x=1687348631; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Bs/0j/OtFGIBL6GNtWcTVuEeu+2d9SQNaMwWjvKuGwM=; b=DsO29diPhujQa5/Ce1z2ZA8xi9z1tfd0kTzWBozOM6+xuh3y7sW4LEA0 8eXXKvlanIAQf6aFnZP5TbXdJKgAU/h9QLs7TjoB7eI9xoHhJKhfWQCcm jU4A+C0b7aXp/ImElrWz8gDNnvVF/r6n2DAFX1Wr7vebheAbiA5ziQx2f 2iPweEs4tzSzjQfEtdvc5F2brPwldcRqAIr1f0ss4qMWCiIL9hXO5lHbW kgUFA6ESBkZeN8JeFS0QIa5qJD+cPHoEjB3+M9na4YL1TbyNZwWGozgLS X/ikeli1biS8HzybHMD4bozWslocTCVsHDhQwNMXnkcS5lJgBydtwpbW2 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10384"; a="366423450" X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="366423450" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 04:57:11 -0700 X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="614719605" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 04:57:09 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1o3cVG-000r00-Cp; Tue, 21 Jun 2022 14:57:06 +0300 Date: Tue, 21 Jun 2022 14:57:06 +0300 From: Andy Shevchenko To: Dan Williams , nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Vishal Verma , Dave Jiang , Ira Weiny , kernel test robot Subject: Re: [PATCH v1 1/1] nvdimm/namespace: drop nested variable in create_namespace_pmem() Message-ID: References: <20220607164937.33967-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220607164937.33967-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 Tue, Jun 07, 2022 at 07:49:37PM +0300, Andy Shevchenko wrote: > Kernel build bot reported: > > namespace_devs.c:1991:10: warning: Local variable 'uuid' shadows outer variable [shadowVariable] > > Refactor create_namespace_pmem() by dropping a nested version of > the same variable. Any comments on this and other two patches? -- With Best Regards, Andy Shevchenko