linux-mips
[Top] [All Lists]

[PATCH][MIPS] fix warning mips-boards generic pci

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] fix warning mips-boards generic pci
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Wed, 1 Nov 2006 18:55:22 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

This patch has fixed the following warning.

arch/mips/mips-boards/generic/pci.c: In function `mips_pcibios_init':
arch/mips/mips-boards/generic/pci.c:227: warning: comparison of distinct 
pointer types lacks a cast
arch/mips/mips-boards/generic/pci.c:228: warning: comparison of distinct 
pointer types lacks a cast

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff 
mips-orig/arch/mips/mips-boards/generic/pci.c 
mips/arch/mips/mips-boards/generic/pci.c
--- mips-orig/arch/mips/mips-boards/generic/pci.c       2006-10-29 
13:42:19.471809750 +0900
+++ mips/arch/mips/mips-boards/generic/pci.c    2006-10-29 13:48:04.077346250 
+0900
@@ -90,7 +90,7 @@ static struct pci_controller msc_control
 void __init mips_pcibios_init(void)
 {
        struct pci_controller *controller;
-       unsigned long start, end, map, start1, end1, map1, map2, map3, mask;
+       resource_size_t start, end, map, start1, end1, map1, map2, map3, mask;
 
        switch (mips_revision_corid) {
        case MIPS_REVISION_CORID_QED_RM5261:

<Prev in Thread] Current Thread [Next in Thread>