Messages in this thread | | | Date | Fri, 2 Apr 2021 07:44:47 +0800 | From | kernel test robot <> | Subject | Re: [PATCH v1 1/1] driver core: enable trace events (devres) |
| |
Hi Andy,
I love your patch! Yet something to improve:
[auto build test ERROR on driver-core/driver-core-testing] [also build test ERROR on v5.12-rc5 next-20210401] [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]
url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/driver-core-enable-trace-events-devres/20210402-052313 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git d225ef6fda7ce9ff7d28764bd1cceea2d0215e8b config: powerpc-randconfig-r004-20210401 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 1c268a8ff4e90a85d0e634350b1104080614cf2b) 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 # install powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu # https://github.com/0day-ci/linux/commit/b5937c2a88864ab50f9a0e1ba3b98ddb7068279d git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Andy-Shevchenko/driver-core-enable-trace-events-devres/20210402-052313 git checkout b5937c2a88864ab50f9a0e1ba3b98ddb7068279d # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/base/devres.c:73:40: error: no member named 'name' in 'struct devres_node' trace_devres_log(dev, op, node, node->name, node->size); ~~~~ ^ >> drivers/base/devres.c:73:52: error: no member named 'size' in 'struct devres_node' trace_devres_log(dev, op, node, node->name, node->size); ~~~~ ^ 2 errors generated.
vim +73 drivers/base/devres.c
69 70 static void devres_log(struct device *dev, struct devres_node *node, 71 const char *op) 72 { > 73 trace_devres_log(dev, op, node, node->name, node->size); 74 devres_dbg(dev, node, op); 75 } 76
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |