Subject: Re: Apparent bug in sdmem
To: None <tech-kern@netbsd.org>
From: Bucky Katz <bucky@picovex.com>
List: tech-kern
Date: 12/03/2006 16:57:15
Bucky Katz <bucky@picovex.com> writes:

> I'm not certain that I follow the logic of sdmem perfectly, but in
>
> sys/dev/sdmem/sdmem.c
>
> the strategy routine checks to see if the request is out of bounds and
> returns it it is.  Shouldn't it set bp->b_error to something before it
> returns?
>
> and if it should, should it be EIO or EINVAL?


Please ignore. I've gotten myself confused over what's already in netbsd and
what's local. sdmem is still a local project.

Sorry for the confusion.