Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
[sfrench/cifs-2.6.git] / arch / ia64 / hp / sim / simscsi.c
index decdf6e1e5d0fe754a7c4069533bb9687260ba74..e62694f8ef75d8b6b46605e6c9924d4ba7bcf898 100644 (file)
@@ -101,7 +101,7 @@ simscsi_interrupt (unsigned long val)
 {
        struct scsi_cmnd *sc;
 
-       while ((sc = queue[rd].sc) != 0) {
+       while ((sc = queue[rd].sc) != NULL) {
                atomic_dec(&num_reqs);
                queue[rd].sc = NULL;
                if (DBG)