[kvms390:for-vhost 1/1] drivers/s390/virtio/virtio_ccw.c:1322:9: error: implicit declaration of function 'virtio_device_freeze'; did you mean 'virtio_device_ready'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git for-vhost
head:   619b4b0ba832144d4be899640a2047f9675df849
commit: 619b4b0ba832144d4be899640a2047f9675df849 [1/1] virtio/s390: implement PM operations for virtio_ccw
config: s390-alldefconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 619b4b0ba832144d4be899640a2047f9675df849
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   drivers/s390/virtio/virtio_ccw.c: In function 'virtio_ccw_freeze':
>> drivers/s390/virtio/virtio_ccw.c:1322:9: error: implicit declaration of function 'virtio_device_freeze'; did you mean 'virtio_device_ready'? [-Werror=implicit-function-declaration]
     return virtio_device_freeze(&vcdev->vdev);
            ^~~~~~~~~~~~~~~~~~~~
            virtio_device_ready
   drivers/s390/virtio/virtio_ccw.c: In function 'virtio_ccw_restore':
>> drivers/s390/virtio/virtio_ccw.c:1334:9: error: implicit declaration of function 'virtio_device_restore'; did you mean 'virtio_ccw_restore'? [-Werror=implicit-function-declaration]
     return virtio_device_restore(&vcdev->vdev);
            ^~~~~~~~~~~~~~~~~~~~~
            virtio_ccw_restore
   cc1: some warnings being treated as errors

vim +1322 drivers/s390/virtio/virtio_ccw.c

  1317	
  1318	static int virtio_ccw_freeze(struct ccw_device *cdev)
  1319	{
  1320		struct virtio_ccw_device *vcdev = dev_get_drvdata(&cdev->dev);
  1321	
> 1322		return virtio_device_freeze(&vcdev->vdev);
  1323	}
  1324	
  1325	static int virtio_ccw_restore(struct ccw_device *cdev)
  1326	{
  1327		struct virtio_ccw_device *vcdev = dev_get_drvdata(&cdev->dev);
  1328		int ret;
  1329	
  1330		ret = virtio_ccw_set_transport_rev(vcdev);
  1331		if (ret)
  1332			return ret;
  1333	
> 1334		return virtio_device_restore(&vcdev->vdev);
  1335	}
  1336	

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

Attachment: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux