From patchwork Mon Aug 24 11:03:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 31899 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 8A88AB7B5C for ; Mon, 24 Aug 2009 21:08:29 +1000 (EST) Received: from localhost ([127.0.0.1]:42445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfXPU-0006xV-6S for incoming@patchwork.ozlabs.org; Mon, 24 Aug 2009 07:08:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfXNO-00061Q-9d for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:06:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfXNJ-0005tL-BA for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:06:13 -0400 Received: from [199.232.76.173] (port=49178 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfXNJ-0005tC-8l for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:06:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44014) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfXNI-0006tV-Md for qemu-devel@nongnu.org; Mon, 24 Aug 2009 07:06:08 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7OB67UL024694 for ; Mon, 24 Aug 2009 07:06:08 -0400 Received: from localhost.localdomain (vpn2-8-191.ams2.redhat.com [10.36.8.191]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7OB63UO030007; Mon, 24 Aug 2009 07:06:06 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 24 Aug 2009 13:03:23 +0200 Message-Id: <51486eb6860d1680c1bce45e310dcd3aae096f43.1251111439.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 02/22] eepro100: cast a void * makes no sense X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- hw/eepro100.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index 0031d36..09083c2 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -507,7 +507,7 @@ static void nic_selective_reset(EEPRO100State * s) static void nic_reset(void *opaque) { - EEPRO100State *s = (EEPRO100State *) opaque; + EEPRO100State *s = opaque; logout("%p\n", s); static int first; if (!first) { @@ -1544,7 +1544,7 @@ static ssize_t nic_receive(VLANClientState *vc, const uint8_t * buf, size_t size static int nic_load(QEMUFile * f, void *opaque, int version_id) { - EEPRO100State *s = (EEPRO100State *) opaque; + EEPRO100State *s = opaque; int i; int ret; @@ -1634,7 +1634,7 @@ static int nic_load(QEMUFile * f, void *opaque, int version_id) static void nic_save(QEMUFile * f, void *opaque) { - EEPRO100State *s = (EEPRO100State *) opaque; + EEPRO100State *s = opaque; int i; if (s->pci_dev)