Re: 2.5.1pre6 compile error

Jens Axboe
2001-12-07T14:52:33Z

On Fri, Dec 07 2001, Martin A. Brooks wrote:
> gcc -D__KERNEL__ -I/home/martin/kernel-a-day-club/linux/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -c -o ps2esdi.o ps2esdi.c
> ps2esdi.c: In function `do_ps2esdi_request':
> ps2esdi.c:498: switch quantity not an integer
> ps2esdi.c:500: warning: unreachable code at beginning of switch
> statement
> make[3]: *** [ps2esdi.o] Error 1

Please take a look at the rq->cmd -> rq->flags changes. Then understand
them. Then fix ps2 and send me a diff, thanks.

:-)

--
Jens Axboe