Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 14:42:06 +0000
From:      Colin Percival <colin.percival@wadham.ox.ac.uk>
To:        current@freebsd.org
Cc:        harti@freebsd.org
Subject:   Re: [current tinderbox] failure on ia64/ia64
Message-ID:  <6.0.1.1.1.20040222143518.03ac9a10@imap.sfu.ca>
In-Reply-To: <20040222135129.28E207303A@freebsd-current.sentex.ca>
References:  <20040222135129.28E207303A@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.1.20040222143518.03ac9a10>