Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2166731rwb; Sun, 4 Sep 2022 09:40:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR43qJv+uDFVREp/GxM5ShjBxZxWYUqOMxvfDiqOa6mcFu4n7Zxp3n495uxM0yVcKpndq52+ X-Received: by 2002:a17:902:7796:b0:172:c716:d3ac with SMTP id o22-20020a170902779600b00172c716d3acmr44602262pll.137.1662309654476; Sun, 04 Sep 2022 09:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662309654; cv=none; d=google.com; s=arc-20160816; b=rNfOXgu713MNM8fzFc8k9Al1t93o525AuyPyhh4dHI571DE09r4fAP5YPnpQCQbJ6M w99S1UY2Uo+KwQxJIGxMNKYOe950zSgxaBlbk/HMeqgye4yeVZf/TXVj6ifPIYW2kZUl YZgpJETl17c/ct7aYx/8zfMCk2WN2h7PwfpU7v0MvFYpiGMiYN43FA87cLL2RhRobRxi oQYLSEfvEnsDgLVAMcClJiJkIpRTtie5x0yBAPbODmCspdlpZjYYNHYRqEz8SghI3mRF 8tIQE6g6GfHjfVUfzPGmhDqUP2Rv70tejK3IvKEFahAS/4+d3HLnMwfPwVrPEEUd6QOv cYaw== 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:dkim-signature; bh=0vmTQhbdrpNvRnfvZso4HqT130qE1SUoUydyKQMpnds=; b=PaFOZyVPB7fmomdyi38F+FjqHWcbUHmEaijKijN+hbnZv/a6NyexOoH3RH/zuz8gfa XuUITV0wIwN6P28a1YNRBE90jpuuql7nD9Ddaoa7y0XvFEw4As+vf0DqeFbvolDGLcCx yrWxBeJ0qllbJkvPLbNpYj9aGMQdCuVaVNw6Iq8EZMV6VlZXXKj4rtSAdkBAT01ai8dZ zqEsNE9Yk2CylsJ8VblLCpoOcAstZDfABbj0NN8yK8/NseGDvUI2mikZl3cduRRtKUDe 0GuTYX7GWM/yZgdeZzn4QHgmL0slEm6Lt0hTZTkUd8p0oNCj/CI5OzpUnoHWBnj2ZbCJ rp+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UoTfryXH; 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 my18-20020a17090b4c9200b001fb0ec88c74si9071200pjb.176.2022.09.04.09.40.43; Sun, 04 Sep 2022 09:40:54 -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=UoTfryXH; 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 S234858AbiIDQSL (ORCPT + 99 others); Sun, 4 Sep 2022 12:18:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232793AbiIDQSK (ORCPT ); Sun, 4 Sep 2022 12:18:10 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FCFA33A2D; Sun, 4 Sep 2022 09:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662308289; x=1693844289; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+dB9LL7EeJed87igxILfGGCGqx09Wbnoy3k0RadLndU=; b=UoTfryXHIFBxahAwcsZ+kjU2lWjywxSspAZNI49VEZvQj9Gx7OA0BU2o tbdt56oxDUOQ1zzPmLQzQLG2/a5Qc9qKN4adNmMfisF6z7EpB6MtZoyjh 6pmjnF7ZQBCVz61Bltsm05Hz4kKvTRynGFQD8XwBgf6z2zkLwn7hqSfHU mQjCVsZ3I4ldj49EqAJovOuDiOu6PkA6IUfy9ARy8aw47fIBC/Uq3wn0j GX3kM6Ia/GCRGZm4+hkizilrf0qXCmTwaYaA9kMpFwilSfeRLt5SrHNJP 8pmJtSre8qLmu7l+Olmntc4jsOglnBFiM6XJn+cbCauJSqCPUkiTigb9K g==; X-IronPort-AV: E=McAfee;i="6500,9779,10460"; a="296256027" X-IronPort-AV: E=Sophos;i="5.93,289,1654585200"; d="scan'208";a="296256027" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2022 09:18:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,289,1654585200"; d="scan'208";a="941847924" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 04 Sep 2022 09:18:06 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oUsJy-0003Eh-0u; Sun, 04 Sep 2022 16:18:06 +0000 Date: Mon, 5 Sep 2022 00:17:35 +0800 From: kernel test robot To: Christophe JAILLET , Vishal Verma , Dan Williams , Dave Jiang , Ira Weiny Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , nvdimm@lists.linux.dev Subject: Re: [PATCH] nvdimm: Avoid wasting some memory. Message-ID: <202209050000.tAI7TSe5-lkp@intel.com> References: <8355cb2b720f8cd0f1315b06d70b541ba38add30.1662299370.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8355cb2b720f8cd0f1315b06d70b541ba38add30.1662299370.git.christophe.jaillet@wanadoo.fr> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hi Christophe, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on v6.0-rc3] [also build test WARNING on linus/master next-20220901] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Christophe-JAILLET/nvdimm-Avoid-wasting-some-memory/20220904-215140 base: b90cb1053190353cc30f0fef0ef1f378ccc063c5 config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20220905/202209050000.tAI7TSe5-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/af94e709929390501b3d2f6e933fa0c1244a2029 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Christophe-JAILLET/nvdimm-Avoid-wasting-some-memory/20220904-215140 git checkout af94e709929390501b3d2f6e933fa0c1244a2029 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/nvdimm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/nvdimm/btt_devs.c:335:6: warning: no previous prototype for function 'nd_btt_free' [-Wmissing-prototypes] void nd_btt_free(void *data) ^ drivers/nvdimm/btt_devs.c:335:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void nd_btt_free(void *data) ^ static 1 warning generated. vim +/nd_btt_free +335 drivers/nvdimm/btt_devs.c 334 > 335 void nd_btt_free(void *data) 336 { 337 kfree(data); 338 } 339 -- 0-DAY CI Kernel Test Service https://01.org/lkp