Block drivers: reply ENOTTY to unknown IOCTLs
Change-Id: Ie2e82d2491d546f4dd73b009100646e249a147b5
This commit is contained in:
@@ -219,7 +219,7 @@ cat24c256_blk_ioctl(dev_t minor, unsigned int request, endpoint_t endpt,
|
||||
{
|
||||
log_trace(&log, "cat24c256_blk_ioctl(%d)\n", minor);
|
||||
/* no supported ioctls for this device */
|
||||
return EINVAL;
|
||||
return ENOTTY;
|
||||
}
|
||||
|
||||
static struct device *
|
||||
|
||||
Reference in New Issue
Block a user