Commit 058e60b5 authored by James Bottomley's avatar James Bottomley

another aic7xxx_old proc fix

from 2.6.1-mm2
parent 4e8bbe7a
...@@ -90,7 +90,7 @@ aic7xxx_proc_info ( struct Scsi_Host *HBAptr, char *buffer, char **start, off_t ...@@ -90,7 +90,7 @@ aic7xxx_proc_info ( struct Scsi_Host *HBAptr, char *buffer, char **start, off_t
unsigned char i; unsigned char i;
unsigned char tindex; unsigned char tindex;
for(p=first_aic7xxx; p->host != HBAptr; p=p->next) for(p=first_aic7xxx; p && p->host != HBAptr; p=p->next)
; ;
if (!p) if (!p)
......
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