[lkml]   [2000]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Fix SCSI proc oops
On Thu, Oct 12 2000, Linus Torvalds wrote:
> On Thu, 12 Oct 2000, Torben Mathiasen wrote:
> >
> > Attached patch should fix the oops's people have been getting
> > while using /proc/scsi.
> This patch makes no sense. Why
> if (!present)
> when that is obviously the wrong way around.

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)

I might be wrong though, it could be another bug that I've missed.

Torben Mathiasen <>
Linux ThunderLAN maintainer
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:41    [W:0.662 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site