mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
3c3f4e012a
This patch eliminates hardcoded return value of register_cdrom(). It also changes the return value to -EINVAL. It is more appropriate than -2 (-ENOENT) because it is only happen invalid usage of register_cdrom() by broken cdrom driver. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> |
||
---|---|---|
.. | ||
cdrom.c | ||
gdrom.c | ||
Makefile | ||
viocd.c |