patch-2.2.17 linux/drivers/char/epca.c
Next file: linux/drivers/char/generic_serial.c
Previous file: linux/drivers/char/dtlk.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Sep 4 18:39:17 2000
- Orig file:
v2.2.16/drivers/char/epca.c
- Orig date:
Mon Sep 4 18:37:32 2000
diff -u --recursive --new-file v2.2.16/drivers/char/epca.c linux/drivers/char/epca.c
@@ -3833,7 +3833,7 @@
case 5:
board.port = (unsigned char *)ints[index];
- if (board.port <= 0)
+ if ((signed long)board.port <= 0)
{
printk(KERN_ERR "<Error> - epca_setup: Invalid io port 0x%x\n", (unsigned int)board.port);
invalid_lilo_config = 1;
@@ -3845,7 +3845,7 @@
case 6:
board.membase = (unsigned char *)ints[index];
- if (board.membase <= 0)
+ if ((signed long)board.membase <= 0)
{
printk(KERN_ERR "<Error> - epca_setup: Invalid memory base 0x%x\n",(unsigned int)board.membase);
invalid_lilo_config = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)