Commit 610b5962 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] nsp32 needs updating for scsi_hn_get

parent c7a4e6c2
...@@ -1575,11 +1575,9 @@ static int nsp32_proc_info(char *buffer, ...@@ -1575,11 +1575,9 @@ static int nsp32_proc_info(char *buffer,
} }
/* search this HBA host */ /* search this HBA host */
for (host=scsi_hostlist; host; host=host->next) {
if (host->host_no == hostno) { host = scsi_host_hn_get(hostno);
break;
}
}
if (host == NULL) { if (host == NULL) {
return -ESRCH; return -ESRCH;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment