* [zen-kernel-zen-kernel:5.11/zen-sauce 1/1] drivers/scsi/vhba/vhba.c:870:6: error: no previous prototype for 'vhba_ctl_compat_ioctl'
@ 2021-04-22 0:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-22 0:01 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 9341 bytes --]
tree: https://github.com/zen-kernel/zen-kernel 5.11/zen-sauce
head: 72f34162f1f91a869b132ff133b0a4c5cac0e19f
commit: 72f34162f1f91a869b132ff133b0a4c5cac0e19f [1/1] ZEN: vhba: Update to 20210418
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-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/zen-kernel/zen-kernel/commit/72f34162f1f91a869b132ff133b0a4c5cac0e19f
git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.11/zen-sauce
git checkout 72f34162f1f91a869b132ff133b0a4c5cac0e19f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm64
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/scsi/vhba/vhba.c:145:6: error: no previous prototype for 'devnum_to_bus_and_id' [-Werror=missing-prototypes]
145 | void devnum_to_bus_and_id(unsigned int devnum, unsigned int *bus, unsigned int *id)
| ^~~~~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:151:14: error: no previous prototype for 'bus_and_id_to_devnum' [-Werror=missing-prototypes]
151 | unsigned int bus_and_id_to_devnum(unsigned int bus, unsigned int id)
| ^~~~~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:156:21: error: no previous prototype for 'vhba_device_alloc' [-Werror=missing-prototypes]
156 | struct vhba_device *vhba_device_alloc (void)
| ^~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:176:6: error: no previous prototype for 'vhba_device_put' [-Werror=missing-prototypes]
176 | void vhba_device_put (struct vhba_device *vdev)
| ^~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:183:21: error: no previous prototype for 'vhba_device_get' [-Werror=missing-prototypes]
183 | struct vhba_device *vhba_device_get (struct vhba_device *vdev)
| ^~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:190:5: error: no previous prototype for 'vhba_device_queue' [-Werror=missing-prototypes]
190 | int vhba_device_queue (struct vhba_device *vdev, struct scsi_cmnd *cmd)
| ^~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c: In function 'vhba_device_queue':
drivers/scsi/vhba/vhba.c:192:23: error: variable 'vhost' set but not used [-Werror=unused-but-set-variable]
192 | struct vhba_host *vhost;
| ^~~~~
drivers/scsi/vhba/vhba.c: At top level:
drivers/scsi/vhba/vhba.c:215:5: error: no previous prototype for 'vhba_device_dequeue' [-Werror=missing-prototypes]
215 | int vhba_device_dequeue (struct vhba_device *vdev, struct scsi_cmnd *cmd)
| ^~~~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:270:6: error: no previous prototype for 'vhba_scan_devices_add' [-Werror=missing-prototypes]
270 | void vhba_scan_devices_add (struct vhba_host *vhost, int bus, int id)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:283:6: error: no previous prototype for 'vhba_scan_devices_remove' [-Werror=missing-prototypes]
283 | void vhba_scan_devices_remove (struct vhba_host *vhost, int bus, int id)
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:296:6: error: no previous prototype for 'vhba_scan_devices' [-Werror=missing-prototypes]
296 | void vhba_scan_devices (struct work_struct *work)
| ^~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:344:5: error: no previous prototype for 'vhba_add_device' [-Werror=missing-prototypes]
344 | int vhba_add_device (struct vhba_device *vdev)
| ^~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:378:5: error: no previous prototype for 'vhba_remove_device' [-Werror=missing-prototypes]
378 | int vhba_remove_device (struct vhba_device *vdev)
| ^~~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:399:21: error: no previous prototype for 'vhba_lookup_device' [-Werror=missing-prototypes]
399 | struct vhba_device *vhba_lookup_device (int devnum)
| ^~~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:470:5: error: no previous prototype for 'vhba_queuecommand' [-Werror=missing-prototypes]
470 | int vhba_queuecommand (struct Scsi_Host *shost, struct scsi_cmnd *cmd)
| ^~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:496:5: error: no previous prototype for 'vhba_abort' [-Werror=missing-prototypes]
496 | int vhba_abort (struct scsi_cmnd *cmd)
| ^~~~~~~~~~
drivers/scsi/vhba/vhba.c:539:9: error: no previous prototype for 'do_request' [-Werror=missing-prototypes]
539 | ssize_t do_request (struct vhba_device *vdev, unsigned long metatag, struct scsi_cmnd *cmd, char __user *buf, size_t buf_len)
| ^~~~~~~~~~
drivers/scsi/vhba/vhba.c:605:9: error: no previous prototype for 'do_response' [-Werror=missing-prototypes]
605 | ssize_t do_response (struct vhba_device *vdev, unsigned long metatag, struct scsi_cmnd *cmd, const char __user *buf, size_t buf_len, struct vhba_response *res)
| ^~~~~~~~~~~
drivers/scsi/vhba/vhba.c:681:22: error: no previous prototype for 'next_command' [-Werror=missing-prototypes]
681 | struct vhba_command *next_command (struct vhba_device *vdev)
| ^~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:698:22: error: no previous prototype for 'match_command' [-Werror=missing-prototypes]
698 | struct vhba_command *match_command (struct vhba_device *vdev, __u32 metatag)
| ^~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:715:22: error: no previous prototype for 'wait_command' [-Werror=missing-prototypes]
715 | struct vhba_command *wait_command (struct vhba_device *vdev, unsigned long flags)
| ^~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:742:9: error: no previous prototype for 'vhba_ctl_read' [-Werror=missing-prototypes]
742 | ssize_t vhba_ctl_read (struct file *file, char __user *buf, size_t buf_len, loff_t *offset)
| ^~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:787:9: error: no previous prototype for 'vhba_ctl_write' [-Werror=missing-prototypes]
787 | ssize_t vhba_ctl_write (struct file *file, const char __user *buf, size_t buf_len, loff_t *offset)
| ^~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:836:6: error: no previous prototype for 'vhba_ctl_ioctl' [-Werror=missing-prototypes]
836 | long vhba_ctl_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
| ^~~~~~~~~~~~~~
>> drivers/scsi/vhba/vhba.c:870:6: error: no previous prototype for 'vhba_ctl_compat_ioctl' [-Werror=missing-prototypes]
870 | long vhba_ctl_compat_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:877:14: error: no previous prototype for 'vhba_ctl_poll' [-Werror=missing-prototypes]
877 | unsigned int vhba_ctl_poll (struct file *file, poll_table *wait)
| ^~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:894:5: error: no previous prototype for 'vhba_ctl_open' [-Werror=missing-prototypes]
894 | int vhba_ctl_open (struct inode *inode, struct file *file)
| ^~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:926:5: error: no previous prototype for 'vhba_ctl_release' [-Werror=missing-prototypes]
926 | int vhba_ctl_release (struct inode *inode, struct file *file)
| ^~~~~~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:979:5: error: no previous prototype for 'vhba_probe' [-Werror=missing-prototypes]
979 | int vhba_probe (struct platform_device *pdev)
| ^~~~~~~~~~
drivers/scsi/vhba/vhba.c:1033:5: error: no previous prototype for 'vhba_remove' [-Werror=missing-prototypes]
1033 | int vhba_remove (struct platform_device *pdev)
| ^~~~~~~~~~~
drivers/scsi/vhba/vhba.c:1049:6: error: no previous prototype for 'vhba_release' [-Werror=missing-prototypes]
1049 | void vhba_release (struct device * dev)
| ^~~~~~~~~~~~
drivers/scsi/vhba/vhba.c:1071:12: error: no previous prototype for 'vhba_init' [-Werror=missing-prototypes]
1071 | int __init vhba_init (void)
| ^~~~~~~~~
drivers/scsi/vhba/vhba.c:1096:13: error: no previous prototype for 'vhba_exit' [-Werror=missing-prototypes]
1096 | void __exit vhba_exit(void)
| ^~~~~~~~~
cc1: all warnings being treated as errors
vim +/vhba_ctl_compat_ioctl +870 drivers/scsi/vhba/vhba.c
868
869 #ifdef CONFIG_COMPAT
> 870 long vhba_ctl_compat_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
871 {
872 unsigned long compat_arg = (unsigned long)compat_ptr(arg);
873 return vhba_ctl_ioctl(file, cmd, compat_arg);
874 }
875 #endif
876
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 76511 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-22 0:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 0:01 [zen-kernel-zen-kernel:5.11/zen-sauce 1/1] drivers/scsi/vhba/vhba.c:870:6: error: no previous prototype for 'vhba_ctl_compat_ioctl' kernel test robot
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.