lkml.org 
[lkml]   [1996]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Patch to mcd.c (was: Re: Bug in sysmount:1.3.75 ?)
On 20 Mar 96 at 21:38, Bjorn Ekwall wrote:

[...]
> @@ -1181,6 +1182,7 @@
> }
>
> if (check_region(mcd_port, 4)) {
> + unregister_blkdev(MAJOR_NR, "mcd");

For interrupts the pointer value has to be the same as when
requesting the interrupt. For devices I'm nut sure. Despite of that
gcc will "share" the literal strings (depending on options), but I
think it would be wise to ignore all that and make sure that the
pointer passed to request a ressource should be the same when
releasing it.

> printk("Init failed, I/O port (%X) already in use\n",
> mcd_port);
> return -EIO;


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