mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [jpirko-mlxsw:jiri_devel_devlink_locking 5/42] drivers/net/wwan/t7xx/t7xx_port_devlink.c:465:42: error: 'DEVLINK_SUPPORT_FLASH_UPDATE_COMPONENT' undeclared here (not in a function); did you mean 'DEVLINK_ATTR_FLASH_UPDATE_COMPONENT'?
@ 2022-08-21  6:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-21  6:09 UTC (permalink / raw)
  To: Jiri Pirko; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/jpirko/linux_mlxsw jiri_devel_devlink_locking
head:   e7096f2b22b32bd60568d91d12b562b3314bc8cc
commit: d8cf683bc939bf07c19efa964a98f10829e30df4 [5/42] net: devlink: extend info_get() version put to indicate a flash component
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20220821/202208211443.W5A3Y2z1-lkp@intel.com/config)
compiler: hppa-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/jpirko/linux_mlxsw/commit/d8cf683bc939bf07c19efa964a98f10829e30df4
        git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
        git fetch --no-tags jpirko-mlxsw jiri_devel_devlink_locking
        git checkout d8cf683bc939bf07c19efa964a98f10829e30df4
        # 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=parisc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/net/wwan/t7xx/t7xx_port_devlink.c:465:42: error: 'DEVLINK_SUPPORT_FLASH_UPDATE_COMPONENT' undeclared here (not in a function); did you mean 'DEVLINK_ATTR_FLASH_UPDATE_COMPONENT'?
     465 |         .supported_flash_update_params = DEVLINK_SUPPORT_FLASH_UPDATE_COMPONENT,
         |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                          DEVLINK_ATTR_FLASH_UPDATE_COMPONENT


vim +465 drivers/net/wwan/t7xx/t7xx_port_devlink.c

87dae9e70bf7be2 M Chetan Kumar 2022-08-16  462  
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  463  /* Call back function for devlink ops */
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  464  static const struct devlink_ops devlink_flash_ops = {
87dae9e70bf7be2 M Chetan Kumar 2022-08-16 @465  	.supported_flash_update_params = DEVLINK_SUPPORT_FLASH_UPDATE_COMPONENT,
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  466  	.flash_update = t7xx_devlink_flash_update,
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  467  	.reload_actions = BIT(DEVLINK_RELOAD_ACTION_DRIVER_REINIT) |
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  468  			  BIT(DEVLINK_RELOAD_ACTION_FW_ACTIVATE),
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  469  	.reload_down = t7xx_devlink_reload_down,
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  470  	.reload_up = t7xx_devlink_reload_up,
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  471  };
87dae9e70bf7be2 M Chetan Kumar 2022-08-16  472  

:::::: The code at line 465 was first introduced by commit
:::::: 87dae9e70bf7be2bd8a3c561fe3ddf666eb8a7a4 net: wwan: t7xx: Enable devlink based fw flashing and coredump collection

:::::: TO: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
:::::: CC: David S. Miller <davem@davemloft.net>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-21  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-21  6:09 [jpirko-mlxsw:jiri_devel_devlink_locking 5/42] drivers/net/wwan/t7xx/t7xx_port_devlink.c:465:42: error: 'DEVLINK_SUPPORT_FLASH_UPDATE_COMPONENT' undeclared here (not in a function); did you mean 'DEVLINK_ATTR_FLASH_UPDATE_COMPONENT'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®