From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAyfz-0003aS-6s for qemu-devel@nongnu.org; Mon, 21 Dec 2015 06:30:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAyfv-0003cO-MD for qemu-devel@nongnu.org; Mon, 21 Dec 2015 06:30:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAyfv-0003cK-Gs for qemu-devel@nongnu.org; Mon, 21 Dec 2015 06:30:47 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 235965375 for ; Mon, 21 Dec 2015 11:30:47 +0000 (UTC) From: marcandre.lureau@redhat.com Date: Mon, 21 Dec 2015 12:30:37 +0100 Message-Id: <1450697444-30119-2-git-send-email-marcandre.lureau@redhat.com> In-Reply-To: <1450697444-30119-1-git-send-email-marcandre.lureau@redhat.com> References: <1450697444-30119-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 1/8] ivshmem: no need for opaque argument List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= From: Marc-Andr=C3=A9 Lureau Signed-off-by: Marc-Andr=C3=A9 Lureau --- hw/misc/ivshmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index f73f0c2..7d14222 100644 --- a/hw/misc/ivshmem.c +++ b/hw/misc/ivshmem.c @@ -350,11 +350,11 @@ static void ivshmem_vector_poll(PCIDevice *dev, } } =20 -static CharDriverState* create_eventfd_chr_device(void * opaque, EventNo= tifier *n, +static CharDriverState* create_eventfd_chr_device(IVShmemState *s, + EventNotifier *n, int vector) { /* create a event character device based on the passed eventfd */ - IVShmemState *s =3D opaque; PCIDevice *pdev =3D PCI_DEVICE(s); int eventfd =3D event_notifier_get_fd(n); CharDriverState *chr; --=20 2.5.0