sim710.c: In function `sim710_detect':
sim710.c:1452: warning: comparison between pointer and integer


--- drivers/scsi/sim710.c.old   Tue Dec  5 15:34:00 2000
+++ drivers/scsi/sim710.c       Tue Dec  5 15:37:18 2000
@@ -1449,7 +1449,7 @@
 
     for(indx = 0; indx < no_of_boards; indx++) {
         unsigned long page = __get_free_pages(GFP_ATOMIC, order);
-        if(page == NULL)
+        if( !page )
         {
                printk(KERN_WARNING "sim710: out of memory registering board %d.\n", 
indx);
                break;

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

Reply via email to