mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
We can now properly return ENODEV in nommap(), so do it.
Remove the now wrong comment which says we can't.
This commit is contained in:
parent
beea48b254
commit
bca0668a92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111623
@ -139,8 +139,7 @@ nommap(dev, offset, paddr, nprot)
|
||||
int nprot;
|
||||
{
|
||||
|
||||
/* Don't return ENODEV. That would allow mapping address ENODEV! */
|
||||
return (-1);
|
||||
return (ENODEV);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user