Re: [Patch] sis_main.c

From: Christopher Kanaan (kanaan@stanford.edu)
Date: Fri May 04 2001 - 10:21:09 EST


Sorry

--- /usr/src/linux/drivers/video/sis/sis_main.c Fri Feb 9 11:30:23 2001
+++ ./sis_main.c Fri May 4 07:34:47 2001
@@ -1030,6 +1030,10 @@
        if (heap.pohFreeList == NULL) {
                poha = kmalloc(OH_ALLOC_SIZE, GFP_KERNEL);
 
+ if(!poha) {
+ return(NULL);
+ }
+
                poha->pohaNext = heap.pohaChain;
                heap.pohaChain = poha;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:21 EST