patch-2.4.20 linux-2.4.20/drivers/s390/misc/chandev.c
Next file: linux-2.4.20/drivers/s390/net/netiucv.c
Previous file: linux-2.4.20/drivers/s390/char/tubttybld.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Nov 28 15:53:14 2002
- Orig file:
linux-2.4.19/drivers/s390/misc/chandev.c
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/s390/misc/chandev.c linux-2.4.20/drivers/s390/misc/chandev.c
@@ -2013,7 +2013,7 @@
/* This is required because the device can go & come back */
/* even before we realize it is gone owing to the waits in our kernel threads */
/* & the device will be marked as not owned but its status will be good */
- /* & an attempt to accidentally reprobe it may be done. */
+ /* & an attempt to accidently reprobe it may be done. */
remove:
chandev_remove(chandev_get_by_irq(curr_irqinfo->sch.irq));
@@ -3140,6 +3140,9 @@
int rc;
char *buff;
+ if(count > 65536)
+ count = 65536;
+
buff=vmalloc(count+1);
if(buff)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)