DKMS make.log for iscsitarget-1.4.20.3+svn499 for kernel 3.4.111-sun7i (armv7l) Sun Apr 3 13:31:56 CEST 2016 make: Entering directory `/usr/src/linux-headers-3.4.111-sun7i' LD /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/built-in.o LD /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/built-in.o CC [M] /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/tio.o In file included from include/linux/sched.h:55:0, from include/linux/blkdev.h:4, from /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.h:11, from /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/tio.c:7: /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/tio.c: In function ‘tio_add_data’: include/linux/kernel.h:561:17: warning: comparison of distinct pointer types lacks a cast [enabled by default] (void) (&_min1 == &_min2); \ ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/tio.c:75:25: note: in expansion of macro ‘min’ const size_t to_copy = min(tio->pg_cnt * PAGE_SIZE - iter->size, len); ^ include/linux/kernel.h:561:17: warning: comparison of distinct pointer types lacks a cast [enabled by default] (void) (&_min1 == &_min2); \ ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/tio.c:82:18: note: in expansion of macro ‘min’ size_t chunk = min(PAGE_SIZE - iter->pg_off, residual); ^ CC [M] /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.o /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c: In function ‘cmnd_skip_pdu’: /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:492:31: error: ‘struct msghdr’ has no member named ‘msg_iter’ iov_iter_init(&conn->read_msg.msg_iter, READ, conn->read_iov, ++i, conn->read_size); ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:492:2: warning: passing argument 3 of ‘iov_iter_init’ makes integer from pointer without a cast [enabled by default] iov_iter_init(&conn->read_msg.msg_iter, READ, conn->read_iov, ++i, conn->read_size); ^ In file included from include/linux/proc_fs.h:5:0, from include/linux/netfilter.h:360, from include/net/netns/x_tables.h:5, from include/net/net_namespace.h:19, from include/linux/netdevice.h:49, from include/net/sock.h:50, from include/linux/tcp.h:211, from include/net/tcp.h:24, from /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:10: include/linux/fs.h:559:20: note: expected ‘long unsigned int’ but argument is of type ‘struct iovec *’ static inline void iov_iter_init(struct iov_iter *i, ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c: In function ‘cmnd_recv_pdu’: /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:731:33: error: ‘struct msghdr’ has no member named ‘msg_iter’ iov_iter_init(&conn->read_msg.msg_iter, READ, conn->read_iov, ++i, conn->read_size); ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:731:4: warning: passing argument 3 of ‘iov_iter_init’ makes integer from pointer without a cast [enabled by default] iov_iter_init(&conn->read_msg.msg_iter, READ, conn->read_iov, ++i, conn->read_size); ^ In file included from include/linux/proc_fs.h:5:0, from include/linux/netfilter.h:360, from include/net/netns/x_tables.h:5, from include/net/net_namespace.h:19, from include/linux/netdevice.h:49, from include/net/sock.h:50, from include/linux/tcp.h:211, from include/net/tcp.h:24, from /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:10: include/linux/fs.h:559:20: note: expected ‘long unsigned int’ but argument is of type ‘struct iovec *’ static inline void iov_iter_init(struct iov_iter *i, ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:740:33: error: ‘struct msghdr’ has no member named ‘msg_iter’ iov_iter_init(&conn->read_msg.msg_iter, READ, conn->read_iov, i, conn->read_size); ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:740:4: warning: passing argument 3 of ‘iov_iter_init’ makes integer from pointer without a cast [enabled by default] iov_iter_init(&conn->read_msg.msg_iter, READ, conn->read_iov, i, conn->read_size); ^ In file included from include/linux/proc_fs.h:5:0, from include/linux/netfilter.h:360, from include/net/netns/x_tables.h:5, from include/net/net_namespace.h:19, from include/linux/netdevice.h:49, from include/net/sock.h:50, from include/linux/tcp.h:211, from include/net/tcp.h:24, from /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:10: include/linux/fs.h:559:20: note: expected ‘long unsigned int’ but argument is of type ‘struct iovec *’ static inline void iov_iter_init(struct iov_iter *i, ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c: In function ‘nop_out_start’: /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:946:32: error: ‘struct msghdr’ has no member named ‘msg_iter’ iov_iter_init(&conn->read_msg.msg_iter, READ, conn->read_iov, i, conn->read_size); ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:946:3: warning: passing argument 3 of ‘iov_iter_init’ makes integer from pointer without a cast [enabled by default] iov_iter_init(&conn->read_msg.msg_iter, READ, conn->read_iov, i, conn->read_size); ^ In file included from include/linux/proc_fs.h:5:0, from include/linux/netfilter.h:360, from include/net/netns/x_tables.h:5, from include/net/net_namespace.h:19, from include/linux/netdevice.h:49, from include/net/sock.h:50, from include/linux/tcp.h:211, from include/net/tcp.h:24, from /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:10: include/linux/fs.h:559:20: note: expected ‘long unsigned int’ but argument is of type ‘struct iovec *’ static inline void iov_iter_init(struct iov_iter *i, ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c: In function ‘scsi_cmnd_start’: /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:986:7: error: ‘SERVICE_ACTION_IN_16’ undeclared (first use in this function) case SERVICE_ACTION_IN_16: ^ /var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.c:986:7: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel/iscsi.o] Error 1 make[1]: *** [/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build/kernel] Error 2 make: *** [_module_/var/lib/dkms/iscsitarget/1.4.20.3+svn499/build] Error 2 make: Leaving directory `/usr/src/linux-headers-3.4.111-sun7i'