Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH][MIPS] fix warning mips-boards generic pci
@ 2006-11-01  9:55 Yoichi Yuasa
  2006-11-01 12:52 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2006-11-01  9:55 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips

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:

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][MIPS] fix warning mips-boards generic pci
  2006-11-01  9:55 [PATCH][MIPS] fix warning mips-boards generic pci Yoichi Yuasa
@ 2006-11-01 12:52 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2006-11-01 12:52 UTC (permalink / raw)
  To: Yoichi Yuasa; +Cc: linux-mips

On Wed, Nov 01, 2006 at 06:55:22PM +0900, Yoichi Yuasa wrote:

> 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

Applied as well,

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-01 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-01  9:55 [PATCH][MIPS] fix warning mips-boards generic pci Yoichi Yuasa
2006-11-01 12:52 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox