Linux cryptographic layer development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Damian Muszynski <damian.muszynski@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-crypto@vger.kernel.org,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Subject: [herbert-cryptodev-2.6:master 45/47] drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'?
Date: Sat, 3 Jun 2023 06:58:35 +0800	[thread overview]
Message-ID: <202306030654.5t4qkyN1-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head:   1d217fa26680b074dbb44f6183f971a5304eaf8b
commit: 9260db6640a61ebba5348ceae7fa26307d9d5b0e [45/47] crypto: qat - move dbgfs init to separate file
config: parisc-randconfig-r005-20230531 (https://download.01.org/0day-ci/archive/20230603/202306030654.5t4qkyN1-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.3.0
reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=9260db6640a61ebba5348ceae7fa26307d9d5b0e
        git remote add herbert-cryptodev-2.6 https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
        git fetch --no-tags herbert-cryptodev-2.6 master
        git checkout 9260db6640a61ebba5348ceae7fa26307d9d5b0e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=parisc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash drivers/crypto/intel/qat/qat_c3xxxvf/ drivers/crypto/intel/qat/qat_c62x/ drivers/crypto/intel/qat/qat_dh895xcc/ fs/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306030654.5t4qkyN1-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c: In function 'adf_cleanup_accel':
>> drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration]
      69 |         adf_dbgfs_exit(accel_dev);
         |         ^~~~~~~~~~~~~~
         |         adf_dbgfs_init
   cc1: some warnings being treated as errors
--
   drivers/crypto/intel/qat/qat_c62x/adf_drv.c: In function 'adf_cleanup_accel':
>> drivers/crypto/intel/qat/qat_c62x/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration]
      69 |         adf_dbgfs_exit(accel_dev);
         |         ^~~~~~~~~~~~~~
         |         adf_dbgfs_init
   cc1: some warnings being treated as errors
--
   drivers/crypto/intel/qat/qat_c3xxxvf/adf_drv.c: In function 'adf_cleanup_accel':
>> drivers/crypto/intel/qat/qat_c3xxxvf/adf_drv.c:68:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration]
      68 |         adf_dbgfs_exit(accel_dev);
         |         ^~~~~~~~~~~~~~
         |         adf_dbgfs_init
   cc1: some warnings being treated as errors


vim +69 drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c

    45	
    46	static void adf_cleanup_accel(struct adf_accel_dev *accel_dev)
    47	{
    48		struct adf_accel_pci *accel_pci_dev = &accel_dev->accel_pci_dev;
    49		int i;
    50	
    51		for (i = 0; i < ADF_PCI_MAX_BARS; i++) {
    52			struct adf_bar *bar = &accel_pci_dev->pci_bars[i];
    53	
    54			if (bar->virt_addr)
    55				pci_iounmap(accel_pci_dev->pci_dev, bar->virt_addr);
    56		}
    57	
    58		if (accel_dev->hw_device) {
    59			switch (accel_pci_dev->pci_dev->device) {
    60			case PCI_DEVICE_ID_INTEL_QAT_DH895XCC:
    61				adf_clean_hw_data_dh895xcc(accel_dev->hw_device);
    62				break;
    63			default:
    64				break;
    65			}
    66			kfree(accel_dev->hw_device);
    67			accel_dev->hw_device = NULL;
    68		}
  > 69		adf_dbgfs_exit(accel_dev);
    70		adf_cfg_dev_remove(accel_dev);
    71		adf_devmgr_rm_dev(accel_dev, NULL);
    72	}
    73	

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

             reply	other threads:[~2023-06-02 22:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-02 22:58 kernel test robot [this message]
2023-06-03  8:24 ` [herbert-cryptodev-2.6:master 45/47] drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? Giovanni Cabiddu

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=202306030654.5t4qkyN1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=damian.muszynski@intel.com \
    --cc=giovanni.cabiddu@intel.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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