Re: [current tinderbox] failure on ia64/ia64

From: Colin Percival <colin.percival_at_wadham.ox.ac.uk>
Date: Sun, 22 Feb 2004 14:42:06 +0000
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
_at__at_ -107,3 +107,3 _at__at_
         pmemp = vtophys(fup->fu_cmd_stat);
-       if (pmemp == NULL) {
+       if (pmemp == 0) {
                 return (1);
_at__at_ -460,3 +460,3 _at__at_
                 fup->fu_cmd_stat = NULL;
-               fup->fu_cmd_statd = NULL;
+               fup->fu_cmd_statd = 0;
         }

Colin Percival
Received on Sun Feb 22 2004 - 05:42:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:44 UTC