From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT7kR-000345-CR for qemu-devel@nongnu.org; Fri, 19 Apr 2013 05:36:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UT7kP-0005ZV-Vl for qemu-devel@nongnu.org; Fri, 19 Apr 2013 05:36:51 -0400 Date: Fri, 19 Apr 2013 11:36:42 +0200 From: Stefan Hajnoczi Message-ID: <20130419093642.GC30143@stefanha-thinkpad.redhat.com> References: <1365792838-13621-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1365792838-13621-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] Remove unneeded type casts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On Fri, Apr 12, 2013 at 08:53:58PM +0200, Stefan Weil wrote: > cpu_physical_memory_read, cpu_physical_memory_write take any pointer > as 2nd argument without needing a type cast. > > Signed-off-by: Stefan Weil > --- > hw/arm/armv7m.c | 12 ++++++------ > hw/arm/boot.c | 4 ++-- > hw/arm/musicpal.c | 8 ++++---- > hw/arm/nseries.c | 4 ++-- > hw/arm/omap1.c | 12 ++++++------ > hw/audio/marvell_88w8618.c | 3 +-- > hw/display/pxa2xx_lcd.c | 2 +- > hw/dma/pxa2xx_dma.c | 2 +- > hw/dma/xilinx_axidma.c | 4 ++-- > hw/gpio/zaurus.c | 2 +- > hw/microblaze/boot.c | 2 +- > hw/misc/macio/mac_dbdma.c | 8 ++++---- > hw/misc/milkymist-pfpu.c | 4 ++-- > hw/net/mcf_fec.c | 4 ++-- > hw/ppc/ppc405_boards.c | 2 +- > hw/ppc/virtex_ml507.c | 2 +- > 16 files changed, 37 insertions(+), 38 deletions(-) Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan