On Wed, Feb 27, 2002 at 03:44:03PM +0100, Christopher Sharp wrote:
> * Stephen L. Palmer ([EMAIL PROTECTED]) wrote:
> > /usr/src/sys/dev/isp/isp.c: In function `isp_reset':
> > /usr/src/sys/dev/isp/isp.c:633: warning: cast discards qualifiers from
> > pointer target type
> > *** Error code 1
> A small workaround is to change:
> 
> -    const u_int16_t   *dv_ispfw;  /* ptr to f/w */
> +    u_int16_t   *dv_ispfw;  /* ptr to f/w */
> 
> in src/sys/dev/isp/ispvar.h:76
> 
> I don't know if this is ok but I does at least make the kernel build
> and should not hurt as long as you don't use the isp device

Fixes to "make it compile" are not desired.  Fixes that are are *FIXES*
are.  If you are unable to understand why dv_ispfw is `const'; just
follow the advice of adding:

    makeoptions NO_WERROR=true

to your kernel configuration.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to