All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Don Brace <don.brace@microsemi.com>
Cc: kbuild-all@01.org, joseph.szczypek@hpe.com,
	gerry.morong@microsemi.com, john.hall@microsemi.com,
	jejb@linux.vnet.ibm.com, Kevin.Barnett@microsemi.com,
	Mahesh.Rajashekhara@microsemi.com, bader.alisaleh@microsemi.com,
	hch@infradead.org, scott.teel@microsemi.com,
	Viswas.G@microsemi.com, Justin.Lindley@microsemi.com,
	scott.benesh@microsemi.com, POSWALD@suse.com,
	linux-scsi@vger.kernel.org
Subject: Re: [PATCH 36/37] smartpqi: remove writeq/readq function definitions
Date: Wed, 26 Apr 2017 17:35:14 +0800	[thread overview]
Message-ID: <201704261715.kUBiSo4Q%fengguang.wu@intel.com> (raw)
In-Reply-To: <149314977225.13903.856016860870045906.stgit@brunhilda>

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

Hi Corentin,

[auto build test ERROR on scsi/for-next]
[also build test ERROR on v4.11-rc8 next-20170424]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Don-Brace/smartpqi-updates/20170426-164057
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   drivers/scsi//smartpqi/smartpqi_init.c: In function 'pqi_wait_for_pqi_mode_ready':
>> drivers/scsi//smartpqi/smartpqi_init.c:2412:3: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration]
      signature = readq(&pqi_registers->signature);
      ^
   drivers/scsi//smartpqi/smartpqi_init.c: In function 'pqi_create_admin_queues':
>> drivers/scsi//smartpqi/smartpqi_init.c:3416:2: error: implicit declaration of function 'writeq' [-Werror=implicit-function-declaration]
     writeq((u64)admin_queues->iq_element_array_bus_addr,
     ^
   cc1: some warnings being treated as errors

vim +/readq +2412 drivers/scsi//smartpqi/smartpqi_init.c

6c223761 Kevin Barnett 2016-06-27  2396  #define PQI_DEVICE_STATE_ERROR				0x4
6c223761 Kevin Barnett 2016-06-27  2397  
6c223761 Kevin Barnett 2016-06-27  2398  #define PQI_MODE_READY_TIMEOUT_SECS		30
6c223761 Kevin Barnett 2016-06-27  2399  #define PQI_MODE_READY_POLL_INTERVAL_MSECS	1
6c223761 Kevin Barnett 2016-06-27  2400  
6c223761 Kevin Barnett 2016-06-27  2401  static int pqi_wait_for_pqi_mode_ready(struct pqi_ctrl_info *ctrl_info)
6c223761 Kevin Barnett 2016-06-27  2402  {
6c223761 Kevin Barnett 2016-06-27  2403  	struct pqi_device_registers __iomem *pqi_registers;
6c223761 Kevin Barnett 2016-06-27  2404  	unsigned long timeout;
6c223761 Kevin Barnett 2016-06-27  2405  	u64 signature;
6c223761 Kevin Barnett 2016-06-27  2406  	u8 status;
6c223761 Kevin Barnett 2016-06-27  2407  
6c223761 Kevin Barnett 2016-06-27  2408  	pqi_registers = ctrl_info->pqi_registers;
6c223761 Kevin Barnett 2016-06-27  2409  	timeout = (PQI_MODE_READY_TIMEOUT_SECS * HZ) + jiffies;
6c223761 Kevin Barnett 2016-06-27  2410  
6c223761 Kevin Barnett 2016-06-27  2411  	while (1) {
6c223761 Kevin Barnett 2016-06-27 @2412  		signature = readq(&pqi_registers->signature);
6c223761 Kevin Barnett 2016-06-27  2413  		if (memcmp(&signature, PQI_DEVICE_SIGNATURE,
6c223761 Kevin Barnett 2016-06-27  2414  			sizeof(signature)) == 0)
6c223761 Kevin Barnett 2016-06-27  2415  			break;
6c223761 Kevin Barnett 2016-06-27  2416  		if (time_after(jiffies, timeout)) {
6c223761 Kevin Barnett 2016-06-27  2417  			dev_err(&ctrl_info->pci_dev->dev,
6c223761 Kevin Barnett 2016-06-27  2418  				"timed out waiting for PQI signature\n");
6c223761 Kevin Barnett 2016-06-27  2419  			return -ETIMEDOUT;
6c223761 Kevin Barnett 2016-06-27  2420  		}

:::::: The code at line 2412 was first introduced by commit
:::::: 6c223761eb5482dca2bd981d0a800c4aba3c9009 smartpqi: initial commit of Microsemi smartpqi driver

:::::: TO: Kevin Barnett <kevin.barnett@microsemi.com>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

  reply	other threads:[~2017-04-26  9:36 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25 19:45 [PATCH 00/37] smartpqi updates Don Brace
2017-04-25 19:45 ` [PATCH 01/37] smartpqi: correct remove scsi devices Don Brace
2017-04-25 19:46 ` [PATCH 02/37] smartpqi: cleanup interrupt management Don Brace
2017-04-25 19:54   ` Bart Van Assche
2017-05-03 15:23     ` Don Brace
2017-04-25 19:46 ` [PATCH 03/37] smartpqi: set pci completion timeout Don Brace
2017-04-25 19:46 ` [PATCH 04/37] smartpqi: add in controller checkpoint for controller lockups Don Brace
2017-04-25 19:46 ` [PATCH 05/37] smartpqi: ensure controller is in SIS mode at init Don Brace
2017-04-25 19:57   ` Bart Van Assche
2017-05-03 15:46     ` Don Brace
2017-04-25 19:46 ` [PATCH 06/37] smartpqi: add supporting events Don Brace
2017-04-25 19:46 ` [PATCH 07/37] smartpqi: enhance resets Don Brace
2017-04-25 20:01   ` Bart Van Assche
2017-05-03 19:19     ` Don Brace
2017-04-25 19:46 ` [PATCH 08/37] smartpqi: add suspend and resume support Don Brace
2017-04-25 20:05   ` Bart Van Assche
2017-05-03 19:21     ` Don Brace
2017-04-25 19:46 ` [PATCH 09/37] smartpqi: add heartbeat check Don Brace
2017-04-25 19:46 ` [PATCH 10/37] smartpqi: correct bdma hw bug Don Brace
2017-04-25 19:46 ` [PATCH 11/37] smartpqi: add pqi_wait_for_completion_io Don Brace
2017-04-25 19:47 ` [PATCH 12/37] smartpqi: change functions to inline Don Brace
2017-04-25 20:07   ` Bart Van Assche
2017-05-03 19:32     ` Don Brace
2017-04-25 19:47 ` [PATCH 13/37] smartpqi: make pdev pointer names consistent Don Brace
2017-04-25 19:47 ` [PATCH 14/37] smartpqi: eliminate redundant error messages Don Brace
2017-04-25 19:47 ` [PATCH 15/37] smartpqi: correct BMIC identify physical drive Don Brace
2017-04-25 19:47 ` [PATCH 16/37] smartpqi: minor driver cleanup Don Brace
2017-04-25 20:09   ` Bart Van Assche
2017-05-03 19:43     ` Don Brace
2017-04-25 19:47 ` [PATCH 17/37] smartpqi: add new PCI device IDs Don Brace
2017-04-25 19:47 ` [PATCH 18/37] smartpqi: cleanup messages Don Brace
2017-04-25 20:11   ` Bart Van Assche
2017-05-03 19:47     ` Don Brace
2017-04-25 19:47 ` [PATCH 19/37] smartpqi: update copyright Don Brace
2017-04-25 19:47 ` [PATCH 20/37] smartpqi: add ptraid support Don Brace
2017-04-25 20:13   ` Bart Van Assche
2017-05-03 20:06     ` Don Brace
2017-04-25 19:48 ` [PATCH 21/37] smartpqi: change return value for LUN reset operations Don Brace
2017-04-25 19:48 ` [PATCH 22/37] smartpqi: enhance kdump Don Brace
2017-04-25 19:48 ` [PATCH 23/37] smartpqi: remove qdepth calculations for logical volumes Don Brace
2017-04-25 19:48 ` [PATCH 24/37] smartpqi: add lockup action Don Brace
2017-04-25 19:48 ` [PATCH 25/37] smartpqi: correct aio error path Don Brace
2017-04-25 19:48 ` [PATCH 26/37] smartpqi: update device offline Don Brace
2017-04-25 19:48 ` [PATCH 27/37] smartpqi: controller offline improvements Don Brace
2017-04-25 19:48 ` [PATCH 28/37] smartpqi: cleanup controller branding Don Brace
2017-04-25 19:48 ` [PATCH 29/37] smartpqi: map more raid errors to SCSI errors Don Brace
2017-04-25 19:48 ` [PATCH 30/37] smartpqi: update timeout on admin commands Don Brace
2017-04-25 19:49 ` [PATCH 31/37] smartpqi: enhance device add and remove messages Don Brace
2017-04-25 19:49 ` [PATCH 32/37] smartpqi: make raid bypass references consistent Don Brace
2017-04-25 19:49 ` [PATCH 33/37] smartpqi: add raid level show Don Brace
2017-04-25 19:49 ` [PATCH 34/37] smartpqi: cleanup list initialization Don Brace
2017-04-25 19:49 ` [PATCH 35/37] smartpqi: add module parameters Don Brace
2017-04-25 19:49 ` [PATCH 36/37] smartpqi: remove writeq/readq function definitions Don Brace
2017-04-26  9:35   ` kbuild test robot [this message]
2017-04-25 19:49 ` [PATCH 37/37] smartpqi: bump driver version Don Brace

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=201704261715.kUBiSo4Q%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=Justin.Lindley@microsemi.com \
    --cc=Kevin.Barnett@microsemi.com \
    --cc=Mahesh.Rajashekhara@microsemi.com \
    --cc=POSWALD@suse.com \
    --cc=Viswas.G@microsemi.com \
    --cc=bader.alisaleh@microsemi.com \
    --cc=don.brace@microsemi.com \
    --cc=gerry.morong@microsemi.com \
    --cc=hch@infradead.org \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=john.hall@microsemi.com \
    --cc=joseph.szczypek@hpe.com \
    --cc=kbuild-all@01.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=scott.benesh@microsemi.com \
    --cc=scott.teel@microsemi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.