Re: [PATCH] Fix SCSI proc oops

From: Linus Torvalds (torvalds@transmeta.com)
Date: Thu Oct 12 2000 - 14:48:27 EST


On Thu, 12 Oct 2000, Torben Mathiasen wrote:
>
> We want to make sure that all hostadapters have been unregistered
> befor we pull it out of the scsi_hosts list. We do tpnt->present--
> for every hostadaper we unregister.
>
> Prior to the new init code, we'd just do something like,
>
> if (tpnt->present)
> return;
>
> I might be wrong though, it could be another bug that I've missed.

Isn't this the very same confusion that we had with this code on sparc?

David, you know this code, would you mind giving it another pair of eyes?
I hate code that doesn't make sense.

                Linus

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:23 EST