patch-2.4.23 linux-2.4.23/drivers/char/drm/sis_ds.c

Next file: linux-2.4.23/drivers/char/drm/tdfx_drv.c
Previous file: linux-2.4.23/drivers/char/drm/sis_drv.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/char/drm/sis_ds.c linux-2.4.23/drivers/char/drm/sis_ds.c
@@ -49,16 +49,19 @@
   set_t *set;
 
   set = (set_t *)MALLOC(sizeof(set_t));
-  if (set) {
+  if(set)
+  {
     for(i = 0; i < SET_SIZE; i++){
       set->list[i].free_next = i+1;    
       set->list[i].alloc_next = -1;
-    }    
+    }
+    
     set->list[SET_SIZE-1].free_next = -1;
     set->free = 0;
     set->alloc = -1;
     set->trace = -1;
   }
+  
   return set;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)