lkml.org 
[lkml]   [2003]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] drivers/cdrom/sjcd.c check_region() fix - take 2
My apologize for the first patch, this one should work better
(and be kinder to patch :)

--- linux-clean/drivers/cdrom/sjcd.c.org 2003-12-29 17:32:00.000000000 -0500
+++ linux-clean/drivers/cdrom/sjcd.c 2003-12-29 17:53:42.000000000 -0500
@@ -1700,7 +1700,7 @@
sprintf(sjcd_disk->disk_name, "sjcd");
sprintf(sjcd_disk->devfs_name, "sjcd");

- if (check_region(sjcd_base, 4)) {
+ if (!request_region(sjcd_base, 4,"sjcd")) {
printk
("SJCD: Init failed, I/O port (%X) is already in use\n",
sjcd_base);
O
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.036 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site