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@xxxxxxxxxxxxx> :::::: CC: Martin K. Petersen <martin.petersen@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip