[PATCH 02/11] mtip32xx: return -ENOTTY for all unhanled ioctls

Jens Axboe axboe at kernel.dk
Sat Oct 31 10:58:52 EDT 2020


On 10/31/20 2:58 AM, Christoph Hellwig wrote:
> -ENOTTY is the convention for "driver does not support this ioctl".
> Use it properly in mtip32xx instead of the bogys -EINVAL.

While that's certainly true, there is a risk in making a change like this
years after the fact. Not that I expect there are any mtip32xx users
left at this point, but...

-- 
Jens Axboe




More information about the linux-mtd mailing list