Re: ide-cd compilation error with linux 2.2.2-ac2

Jens Axboe (axboe@image.dk)
Thu, 25 Feb 1999 01:11:56 +0100


Paul.Gammans@brunel.ac.uk wrote:
> After a quick look there dose seam to be the 'char *ignore' if compiled
> as a module but not if included in the kernel at line 3185.
>
> code that uses it added by patch at line 3217 ....
>
> if (ignore != NULL)
> if(strstr(ignore, drive->name) {
> printk("ide-cd: ignoring drive %s\n", drive-name);
> continue;
> }
>
> Should this be only be included if compiled as a module?

Well, instead I placed *ignore outside of the #ifdef MODULE. Get
2.2.2-ac3, the fix is in there.

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer
* "The only thing that interferes with my
*  learning is my education." -- A. Einstein

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/