Messages in this thread Patch in this message |  | | Date | Tue, 5 Dec 2000 16:51:37 +0100 (CET) | From | Pavel Rabel <> | Subject | [PATCH] sim710.c compiler warning |
| |
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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |