[current tinderbox] failure on ia64/ia64
Colin Percival
colin.percival at wadham.ox.ac.uk
Sun Feb 22 06:42:11 PST 2004
At 13:51 22/02/2004, FreeBSD Tinderbox wrote:
>/other/tinderbox/CURRENT/ia64/ia64/src/sys/dev/hfa/fore_command.c: In
>function `fore_cmd_allocate':
>/other/tinderbox/CURRENT/ia64/ia64/src/sys/dev/hfa/fore_command.c:108:
>warning: comparison between pointer and integer
>/other/tinderbox/CURRENT/ia64/ia64/src/sys/dev/hfa/fore_command.c: In
>function `fore_cmd_free':
>/other/tinderbox/CURRENT/ia64/ia64/src/sys/dev/hfa/fore_command.c:461:
>warning: assignment makes integer from pointer without a cast
>*** Error code 1
Could someone please fix this?
Index: src/sys/dev/hfa/fore_command.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/hfa/fore_command.c,v
retrieving revision 1.17
diff -u -r1.17 fore_command.c
--- src/sys/dev/hfa/fore_command.c 21 Feb 2004 19:08:23 -0000 1.17
+++ src/sys/dev/hfa/fore_command.c 22 Feb 2004 14:38:22 -0000
@@ -107,3 +107,3 @@
pmemp = vtophys(fup->fu_cmd_stat);
- if (pmemp == NULL) {
+ if (pmemp == 0) {
return (1);
@@ -460,3 +460,3 @@
fup->fu_cmd_stat = NULL;
- fup->fu_cmd_statd = NULL;
+ fup->fu_cmd_statd = 0;
}
Colin Percival
More information about the freebsd-current
mailing list