lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20150202063555.GA7376@ad.nay.redhat.com> Date: Mon, 2 Feb 2015 14:35:55 +0800 From: Fam Zheng <famz@...hat.com> To: kbuild test robot <fengguang.wu@...el.com> Cc: Nicholas Bellinger <nab@...ux-iscsi.org>, kbuild-all@...org, "Michael S. Tsirkin" <mst@...hat.com>, kvm@...r.kernel.org, virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH target] vhost/scsi: vhost_skip_iovec_bytes() can be static On Mon, 02/02 14:25, kbuild test robot wrote: > drivers/vhost/scsi.c:1081:5: sparse: symbol 'vhost_skip_iovec_bytes' was not declared. Should it be static? > > Signed-off-by: Fengguang Wu <fengguang.wu@...el.com> > --- > scsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c > index d888bd9..8ac003f 100644 > --- a/drivers/vhost/scsi.c > +++ b/drivers/vhost/scsi.c > @@ -1078,7 +1078,7 @@ vhost_scsi_send_bad_target(struct vhost_scsi *vs, > pr_err("Faulted on virtio_scsi_cmd_resp\n"); > } > > -int vhost_skip_iovec_bytes(size_t bytes, int max_niov, > +static int vhost_skip_iovec_bytes(size_t bytes, int max_niov, > struct iovec *iov_in, size_t off_in, > struct iovec **iov_out, size_t *off_out) Probably keep the parameter list lines aligned? Fam -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists