summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-pic32.c
diff options
context:
space:
mode:
authorMinfei Huang <mnghuan@gmail.com>2016-06-07 02:05:15 (GMT)
committerJens Axboe <axboe@fb.com>2016-07-12 23:17:18 (GMT)
commit7a6497378ae832daa1668a10be04ebdacd60468b (patch)
tree33eaf46fb37aa7019fc9ab9fab1c4e8db880317f /drivers/spi/spi-pic32.c
parent6eae8c45206733ba3a56b4f9e278774ad397b092 (diff)
downloadlinux-7a6497378ae832daa1668a10be04ebdacd60468b.tar.xz
loop: Make user notify for adding loop device failed
There is no error number returned if loop driver fails in function alloc_disk to add new loop device. Add a correct error number to make user notify in this case. Signed-off-by: Minfei Huang <mnghuan@gmail.com> Reviewed-by: Ming Lei <tom.leiming@gmail.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/spi/spi-pic32.c')
0 files changed, 0 insertions, 0 deletions