Files
linux/drivers
Chengguang Xu 38a3499f6d block: loop: check error using IS_ERR instead of IS_ERR_OR_NULL in loop_add()
blk_mq_init_queue() will not return NULL pointer to its caller,
so it's better to replace IS_ERR_OR_NULL using IS_ERR in loop_add().

If in the future things change to check NULL pointer inside loop_add(),
we should return -ENOMEM as return code instead of PTR_ERR(NULL).

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-12-16 09:01:38 -07:00
..
2018-10-16 11:13:50 +02:00
2018-10-11 12:12:55 +02:00
2018-12-13 13:58:23 -07:00
2018-12-02 20:55:23 -08:00
2018-10-31 08:54:16 -07:00
2018-11-30 14:48:04 -07:00
2018-10-11 09:16:44 -07:00
2018-11-11 09:21:46 -08:00