Re: 2.4.17 Oops when trying to mount ATAPI CDROM

Andrew Morton (akpm@zip.com.au)
Sat, 02 Feb 2002 22:28:50 -0800


Andre Hedrick wrote:
>
> Manuel,
>
> Would you be kind enough to be a little more specific on the hardware?
> The attached devices bu make model and real vender if known.
>
>

There are eight different config_drive_xfer_rate() functions.
And they all basically do this:

if (id && ...) {
...
} else if (id->xxx)

So either

1: The first test for id=NULL is unneeded or

2: id can sometimes be null, which will oops in the way
Manuel describes.

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