WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [xenppc-unstable] gcc warnings of void * arithmetic

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] gcc warnings of void * arithmetic
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Aug 2006 18:11:23 +0000
Delivery-date: Fri, 18 Aug 2006 11:14:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 539a1e66698289d408ea61c3294361f150d320ff
# Parent  227c65d72a657360a8373eeffaa602ee8a3cee8f
 gcc warnings of void * arithmetic
---
 xen/drivers/video/vga.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 227c65d72a65 -r 539a1e666982 xen/drivers/video/vga.c
--- a/xen/drivers/video/vga.c   Fri Aug 18 14:06:58 2006 -0400
+++ b/xen/drivers/video/vga.c   Fri Aug 18 14:07:50 2006 -0400
@@ -185,17 +185,17 @@ static inline void vga_io_w_fast(uint16_
     outw(VGA_OUT16VAL(val, reg), port);
 }
 
-static inline uint8_t vga_mm_r(void __iomem *regbase, uint16_t port)
+static inline uint8_t vga_mm_r(char __iomem *regbase, uint16_t port)
 {
     return readb(regbase + port);
 }
 
-static inline void vga_mm_w(void __iomem *regbase, uint16_t port, uint8_t val)
+static inline void vga_mm_w(char __iomem *regbase, uint16_t port, uint8_t val)
 {
     writeb(val, regbase + port);
 }
 
-static inline void vga_mm_w_fast(void __iomem *regbase, uint16_t port, uint8_t 
reg, uint8_t val)
+static inline void vga_mm_w_fast(char __iomem *regbase, uint16_t port, uint8_t 
reg, uint8_t val)
 {
     writew(VGA_OUT16VAL(val, reg), regbase + port);
 }

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] gcc warnings of void * arithmetic, Xen patchbot-xenppc-unstable <=