Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1673438rwd; Thu, 15 Jun 2023 14:03:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ46xSnwLOcdtTAAEAOhqKKFGSYCsPGeQmYngn+Tamv3anSr9XUXmx3YuDUwE6znKMNEyMmo X-Received: by 2002:a17:907:2d28:b0:974:1ef1:81ae with SMTP id gs40-20020a1709072d2800b009741ef181aemr159344ejc.54.1686862985235; Thu, 15 Jun 2023 14:03:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686862985; cv=none; d=google.com; s=arc-20160816; b=DNPW2UvskJrfeNc/ysGlxxn4mLN82SBOUw4GEZ92hHWIJqd7k9QRBbGIlbwenhB8li eRFtmzw8Dsf4CUk1xMZu9m/Az4w295vc8V9EOVIIB/OOCSeOJ5YKPdyZGWQ4WyNF3wwy aAo4GCizmyiHoHCionrNqsh2sir46upT8Sm4yiFlGwq2+1xMvzB46pAFvbEbw69o4j9g UKnnONjXS13uZFDWmqeHfQrOH3/dvqQ2tjixhqpn0Ah9sVuyBQfHjgQNhNs74Q+lfOdj butGug873J4nHKZEi59nNyGmPrV3FeZ+/z6EdRCpS/JVKI+SKCylDyIuZOrG8E4qCRUu tWvQ== 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=Vr2RLZljhWqnjQR2qEeg+MAXO4b2YtE/KtNLTj+SPac=; b=SP0E7l4rvmYqttJckW+OJIIcAYm4Nxd2L2bM0Mm5m0YD+99wqTpvqe6zZHLkfRsPM8 QigincQGZ2SBzKJegSCjGfGo067NOf/tf7w4rdeSLmZOTN+0tT/tdtntRdLy3+Y/NxPh Jbsvh9bATX+0hfMSiP5KMzRsfSOMJYZPdnlLpVLW1/4C67tXwpRizhad6e7eKRHiD1dP U3zV4CcDz4HiSQ+ByjgnbIgOcIAD7xziHuSgQBjgVczsjqhcfs/DThO4IFrAO2MMWS1E QFq7fo6S00H2YUBqQuotl+WEHIOZ9oy6QwtrebuQsweb73t24mceU7fyWcR5HTLdRtTY C6kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="bCZEc/yc"; 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 k18-20020a1709065fd200b009788e95bf77si878733ejv.511.2023.06.15.14.02.40; Thu, 15 Jun 2023 14:03:05 -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="bCZEc/yc"; 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 S230173AbjFOU65 (ORCPT + 99 others); Thu, 15 Jun 2023 16:58:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229711AbjFOU6z (ORCPT ); Thu, 15 Jun 2023 16:58:55 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B296726AA; Thu, 15 Jun 2023 13:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686862733; x=1718398733; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=u/yF5q/mKuNIIasnmFpVP4NTwMSDM4yMAcvhwIuO2kk=; b=bCZEc/ycpijCdo006at7d0IXwdTvXZpgaQBXMKV7mEdLL9iKnkuBvWeu b/BaAYd2gd5wD4EzzQrCI0Rl4gV9qJcMGj5Zf/Jso0g+tGZKqxulxJmyT XCcSqZFAyG570Wf4aQCpUVqCAVV4NR6bvTLI0SsSxwKNknhUkV4otC7Gq kOOWNOMWeSgB+aWONzAtMStILgrWomDo/nBLFwrakyK74/sr4adh9eHVy ArM/HqBdyEzdCczGOKF+sXiXmhWAhxFYAxs1UUXDYCPzwA6evQt76eAXr Y4JY6FkqcighU9hqVGSVK0SRBw/WzMGtRr45+xo+j5N4MMw5eRHSdNwSP w==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="422682380" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="422682380" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 13:58:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="1042833189" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="1042833189" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 15 Jun 2023 13:58:50 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1q9u3N-0000NB-1D; Thu, 15 Jun 2023 20:58:49 +0000 Date: Fri, 16 Jun 2023 04:58:15 +0800 From: kernel test robot To: Lizhi Hou , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh@kernel.org Cc: oe-kbuild-all@lists.linux.dev, Lizhi Hou , max.zhen@amd.com, sonal.santan@amd.com, stefano.stabellini@xilinx.com Subject: Re: [PATCH V9 6/6] of: unittest: Add pci_dt_testdrv pci driver Message-ID: <202306160410.HTDpoLQa-lkp@intel.com> References: <1686847842-33780-7-git-send-email-lizhi.hou@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1686847842-33780-7-git-send-email-lizhi.hou@amd.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 Hi Lizhi, kernel test robot noticed the following build warnings: [auto build test WARNING on pci/next] [also build test WARNING on pci/for-linus robh/for-next linus/master v6.4-rc6 next-20230615] [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/Lizhi-Hou/of-dynamic-Add-interfaces-for-creating-device-node-dynamically/20230616-005610 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/1686847842-33780-7-git-send-email-lizhi.hou%40amd.com patch subject: [PATCH V9 6/6] of: unittest: Add pci_dt_testdrv pci driver config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20230616/202306160410.HTDpoLQa-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add pci https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git git fetch pci next git checkout pci/next b4 shazam https://lore.kernel.org/r/1686847842-33780-7-git-send-email-lizhi.hou@amd.com # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=mips olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/ If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306160410.HTDpoLQa-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/asm-generic/bug.h:22, from arch/mips/include/asm/bug.h:42, from include/linux/bug.h:5, from include/linux/mmdebug.h:5, from include/linux/mm.h:6, from include/linux/memblock.h:12, from drivers/of/unittest.c:8: drivers/of/unittest.c: In function 'unittest_pci_probe': >> include/linux/kern_levels.h:5:25: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:427:25: note: in definition of macro 'printk_index_wrap' 427 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ include/linux/printk.h:498:9: note: in expansion of macro 'printk' 498 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH' 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ include/linux/printk.h:498:16: note: in expansion of macro 'KERN_ERR' 498 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ drivers/of/unittest.c:45:17: note: in expansion of macro 'pr_err' 45 | pr_err("FAIL %s():%i " fmt, __func__, __LINE__, ##__VA_ARGS__); \ | ^~~~~~ drivers/of/unittest.c:3844:9: note: in expansion of macro 'unittest' 3844 | unittest(res->start == exp_addr, "Incorrect translated address %llx, expected %llx\n", | ^~~~~~~~ vim +5 include/linux/kern_levels.h 314ba3520e513a Joe Perches 2012-07-30 4 04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */ 04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001' 04d2c8c83d0e3a Joe Perches 2012-07-30 7 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki