patch-2.3.99-pre9 linux/drivers/video/riva/fbdev.c
Next file: linux/fs/Makefile
Previous file: linux/drivers/video/newport_con.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon May 22 09:50:55 2000
- Orig file:
v2.3.99-pre8/linux/drivers/video/riva/fbdev.c
- Orig date:
Wed Apr 26 16:34:08 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/video/riva/fbdev.c linux/drivers/video/riva/fbdev.c
@@ -69,7 +69,7 @@
if(!(expr)) { \
printk( "Assertion failed! %s,%s,%s,line=%d\n",\
#expr,__FILE__,__FUNCTION__,__LINE__); \
- *(int*)0 = 0; \
+ BUG(); \
}
#else
#define assert(expr)
@@ -127,7 +127,7 @@
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_VTNT2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_RIVA_VTNT2 },
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_UVTNT2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_RIVA_VTNT2 },
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_ITNT2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_RIVA_ITNT2 },
- { 0, }, /* terminate list */
+ { 0, } /* terminate list */
};
MODULE_DEVICE_TABLE(pci, rivafb_pci_tbl);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)