netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jonathan Lemon <jonathan.lemon@gmail.com>,
	richardcochran@gmail.com, netdev@vger.kernel.org,
	kuba@kernel.org
Cc: kbuild-all@lists.01.org, kernel-team@fb.com
Subject: Re: [PATCH] ptp: Add clock driver for the OpenCompute TimeCard.
Date: Wed, 2 Dec 2020 11:20:42 +0800	[thread overview]
Message-ID: <202012021121.GHLXhNXd-lkp@intel.com> (raw)
In-Reply-To: <20201201205132.2871225-1-jonathan.lemon@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2356 bytes --]

Hi Jonathan,

I love your patch! Yet something to improve:

[auto build test ERROR on net/master]
[also build test ERROR on ipvs/master net-next/master linus/master v5.10-rc6 next-20201201]
[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/Jonathan-Lemon/ptp-Add-clock-driver-for-the-OpenCompute-TimeCard/20201202-045520
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 14483cbf040fcb38113497161088a1ce8ce5d713
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/212c31abce553dfb3146a24086b8a50046097f0d
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jonathan-Lemon/ptp-Add-clock-driver-for-the-OpenCompute-TimeCard/20201202-045520
        git checkout 212c31abce553dfb3146a24086b8a50046097f0d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh 

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/ptp/ptp_ocp.c: In function 'ptp_ocp_remove':
>> drivers/ptp/ptp_ocp.c:374:2: error: implicit declaration of function 'pci_iounmap'; did you mean 'pcim_iounmap'? [-Werror=implicit-function-declaration]
     374 |  pci_iounmap(pdev, bp->base);
         |  ^~~~~~~~~~~
         |  pcim_iounmap
   cc1: some warnings being treated as errors

vim +374 drivers/ptp/ptp_ocp.c

   367	
   368	static void
   369	ptp_ocp_remove(struct pci_dev *pdev)
   370	{
   371		struct ptp_ocp *bp = pci_get_drvdata(pdev);
   372	
   373		ptp_clock_unregister(bp->ptp);
 > 374		pci_iounmap(pdev, bp->base);
   375		pci_release_regions(pdev);
   376		pci_disable_device(pdev);
   377		pci_set_drvdata(pdev, NULL);
   378		kfree(bp);
   379	}
   380	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 53576 bytes --]

      reply	other threads:[~2020-12-02  3:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 20:51 [PATCH] ptp: Add clock driver for the OpenCompute TimeCard Jonathan Lemon
2020-12-02  3:20 ` kernel test robot [this message]

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=202012021121.GHLXhNXd-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jonathan.lemon@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kernel-team@fb.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=richardcochran@gmail.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).