patch-2.4.20 linux-2.4.20/drivers/char/drm-4.0/i810_dma.c

Next file: linux-2.4.20/drivers/char/drm-4.0/tdfx_drv.c
Previous file: linux-2.4.20/drivers/char/drm-4.0/ffb_drv.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/char/drm-4.0/i810_dma.c linux-2.4.20/drivers/char/drm-4.0/i810_dma.c
@@ -83,7 +83,7 @@
 	*(volatile unsigned int *)(virt + outring) = n;			\
 	outring += 4;							\
 	outring &= ringmask;						\
-} while (0);
+} while (0)
 
 static inline void i810_print_status_page(drm_device_t *dev)
 {
@@ -279,7 +279,7 @@
 	address = __get_free_page(GFP_KERNEL);
 	if(address == 0UL) 
 		return 0;
-	
+
 	get_page(virt_to_page(address));
 	LockPage(virt_to_page(address));
    

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