Subject: Apparent bug in sdmem
To: None <tech-kern@netbsd.org>
From: Bucky Katz <bucky@picovex.com>
List: tech-kern
Date: 12/03/2006 14:03:52
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?

Thanks,

Bucky