Date: Tue, 25 Mar 2008 16:01:02 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 138525 for review Message-ID: <200803251601.m2PG12uV050639@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=138525 Change 138525 by gonzo@gonzo_jeeves on 2008/03/25 16:00:51 o Remove unused variable o Use int 0 instead of NULL to avoid type cast complaints from gcc Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/mips32/idt/uart_cpu_rc32434.c#2 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/mips32/idt/uart_cpu_rc32434.c#2 (text+ko) ==== @@ -62,7 +62,7 @@ int uart_cpu_getdev(int devtype, struct uart_devinfo *di) { - uint32_t i, maddr; + uint32_t maddr; if (resource_int_value("uart", 0, "maddr", &maddr) != 0 || maddr == 0) @@ -78,8 +78,8 @@ di->databits = 8; di->stopbits = 1; di->parity = UART_PARITY_NONE; - uart_bus_space_io = NULL; - uart_bus_space_mem = NULL; + uart_bus_space_io = 0; + uart_bus_space_mem = 0; di->bas.bsh = MIPS_PHYS_TO_KSEG1(maddr); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803251601.m2PG12uV050639>