oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Srujana Challa <schalla@marvell.com>,
	herbert@gondor.apana.org.au, davem@davemloft.net
Cc: oe-kbuild-all@lists.linux.dev, linux-crypto@vger.kernel.org,
	bbrezillon@kernel.org, arno@natisbad.org, kuba@kernel.org,
	ndabilpuram@marvell.com, schalla@marvell.com
Subject: Re: [PATCH 04/10] crypto: octeontx2: add devlink option to set t106 mode
Date: Sat, 21 Oct 2023 18:03:58 +0800	[thread overview]
Message-ID: <202310211716.02lrxOQo-lkp@intel.com> (raw)
In-Reply-To: <20231016064934.1913964-5-schalla@marvell.com>

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

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

           reply	other threads:[~2023-10-21 10:04 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20231016064934.1913964-5-schalla@marvell.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202310211716.02lrxOQo-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arno@natisbad.org \
    --cc=bbrezillon@kernel.org \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=kuba@kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=ndabilpuram@marvell.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=schalla@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).