Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/playstation2/playstation2 Bring this back to a comp...
details: https://anonhg.NetBSD.org/src/rev/df4364494721
branches: trunk
changeset: 553904:df4364494721
user: he <he%NetBSD.org@localhost>
date: Wed Oct 22 20:15:20 2003 +0000
description:
Bring this back to a compileable state; fallout from NULL type change,
so just use 0 before casting to paddr_t.
diffstat:
sys/arch/playstation2/playstation2/sifbios.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bd8576add5c8 -r df4364494721 sys/arch/playstation2/playstation2/sifbios.c
--- a/sys/arch/playstation2/playstation2/sifbios.c Wed Oct 22 18:24:53 2003 +0000
+++ b/sys/arch/playstation2/playstation2/sifbios.c Wed Oct 22 20:15:20 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sifbios.c,v 1.3 2003/07/15 02:54:38 lukem Exp $ */
+/* $NetBSD: sifbios.c,v 1.4 2003/10/22 20:15:20 he Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sifbios.c,v 1.3 2003/07/15 02:54:38 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sifbios.c,v 1.4 2003/10/22 20:15:20 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -517,7 +517,7 @@
int result, sifbios_arg = sz;
if (sifbios_rpc_call(65, (void *)&sifbios_arg, &result) < 0)
- return NULL;
+ return (paddr_t)0;
/* returns allocated IOP physical addr */
return (paddr_t)result;
}
Home |
Main Index |
Thread Index |
Old Index