Re: [PATCH 04/10] crypto: octeontx2: add devlink option to set t106 mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Srujana,

kernel test robot noticed the following build errors:

[auto build test ERROR on herbert-cryptodev-2.6/master]
[also build test ERROR on herbert-crypto-2.6/master linus/master v6.6-rc6 next-20231020]
[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/Srujana-Challa/crypto-octeontx2-remove-CPT-block-reset/20231017-141612
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
patch link:    https://lore.kernel.org/r/20231016064934.1913964-5-schalla%40marvell.com
patch subject: [PATCH 04/10] crypto: octeontx2: add devlink option to set t106 mode
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20231021/202310211716.02lrxOQo-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231021/202310211716.02lrxOQo-lkp@xxxxxxxxx/reproduce)

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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310211716.02lrxOQo-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c: In function 'otx2_cpt_register_dl':
>> drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c:208:9: error: implicit declaration of function 'devlink_params_publish'; did you mean 'devlink_params_register'? [-Werror=implicit-function-declaration]
     208 |         devlink_params_publish(dl);
         |         ^~~~~~~~~~~~~~~~~~~~~~
         |         devlink_params_register
   cc1: some warnings being treated as errors


vim +208 drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c

   181	
   182	int otx2_cpt_register_dl(struct otx2_cptpf_dev *cptpf)
   183	{
   184		struct device *dev = &cptpf->pdev->dev;
   185		struct otx2_cpt_devlink *cpt_dl;
   186		struct devlink *dl;
   187		int ret;
   188	
   189		dl = devlink_alloc(&otx2_cpt_devlink_ops,
   190				   sizeof(struct otx2_cpt_devlink), dev);
   191		if (!dl) {
   192			dev_warn(dev, "devlink_alloc failed\n");
   193			return -ENOMEM;
   194		}
   195	
   196		cpt_dl = devlink_priv(dl);
   197		cpt_dl->dl = dl;
   198		cpt_dl->cptpf = cptpf;
   199		cptpf->dl = dl;
   200		ret = devlink_params_register(dl, otx2_cpt_dl_params,
   201					      ARRAY_SIZE(otx2_cpt_dl_params));
   202		if (ret) {
   203			dev_err(dev, "devlink params register failed with error %d",
   204				ret);
   205			devlink_free(dl);
   206			return ret;
   207		}
 > 208		devlink_params_publish(dl);
   209		devlink_register(dl);
   210	
   211		return 0;
   212	}
   213	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux