[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202305240842.zr8PTfcu-lkp@intel.com>
Date: Wed, 24 May 2023 09:12:24 +0800
From: kernel test robot <lkp@...el.com>
To: Terry Bowman <terry.bowman@....com>, alison.schofield@...el.com,
vishal.l.verma@...el.com, ira.weiny@...el.com, bwidawsk@...nel.org,
dan.j.williams@...el.com, dave.jiang@...el.com,
Jonathan.Cameron@...wei.com, linux-cxl@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, terry.bowman@....com,
rrichter@....com, linux-kernel@...r.kernel.org, bhelgaas@...gle.com
Subject: Re: [PATCH v4 13/23] cxl/hdm: Use stored Component Register mappings
to map HDM decoder capability
Hi Terry,
kernel test robot noticed the following build warnings:
[auto build test WARNING on a70fc4ed20a6118837b0aecbbf789074935f473b]
url: https://github.com/intel-lab-lkp/linux/commits/Terry-Bowman/cxl-acpi-Probe-RCRB-later-during-RCH-downstream-port-creation/20230524-073436
base: a70fc4ed20a6118837b0aecbbf789074935f473b
patch link: https://lore.kernel.org/r/20230523232214.55282-14-terry.bowman%40amd.com
patch subject: [PATCH v4 13/23] cxl/hdm: Use stored Component Register mappings to map HDM decoder capability
config: ia64-allyesconfig
compiler: ia64-linux-gcc (GCC) 12.1.0
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/d41cd3b17998709dba2acc87016b07c0720e5b67
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Terry-Bowman/cxl-acpi-Probe-RCRB-later-during-RCH-downstream-port-creation/20230524-073436
git checkout d41cd3b17998709dba2acc87016b07c0720e5b67
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/cxl/core/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305240842.zr8PTfcu-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/cxl/core/hdm.c:128:26: warning: no previous prototype for 'cxl_port_get_comp_map' [-Wmissing-prototypes]
128 | struct cxl_register_map *cxl_port_get_comp_map(struct cxl_port *port)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/cxl_port_get_comp_map +128 drivers/cxl/core/hdm.c
127
> 128 struct cxl_register_map *cxl_port_get_comp_map(struct cxl_port *port)
129 {
130 /*
131 * HDM capability applies to Endpoints, USPs and VH Host
132 * Bridges. The Endpoint's component register mappings are
133 * located in the cxlds.
134 */
135 if (is_cxl_endpoint(port)) {
136 struct cxl_memdev *memdev = to_cxl_memdev(port->uport);
137
138 return &memdev->cxlds->comp_map;
139 }
140
141 return &port->comp_map;
142 }
143
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "config" of type "text/plain" (330191 bytes)
Powered by blists - more mailing lists