open-cas-linux/modules/cas_disk
Michal Mielewczyk 8363b67993 cas_disk: handle allocation error properly
In case of error `blk_mq_init_queue()` does not return NULL, but
`ERR_PTR(error_code)` instead.

`IS_ERR_OR_NULL()` should be used to check if `blk_mq_init_queue()` actually
failed.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-07-07 07:43:52 -04:00
..
cas_disk_defs.h Update copyright statements 2020-05-04 16:47:38 +02:00
cas_disk.h Update copyright statements 2020-05-04 16:47:38 +02:00
debug.h Update copyright statements 2020-05-04 16:47:38 +02:00
disk.c Update copyright statements 2020-05-04 16:47:38 +02:00
disk.h Update copyright statements 2020-05-04 16:47:38 +02:00
exp_obj.c cas_disk: handle allocation error properly 2020-07-07 07:43:52 -04:00
exp_obj.h Update copyright statements 2020-05-04 16:47:38 +02:00
main.c Update copyright statements 2020-05-04 16:47:38 +02:00
Makefile Update copyright statements 2020-05-04 16:47:38 +02:00
sysfs.c Update copyright statements 2020-05-04 16:47:38 +02:00
sysfs.h Update copyright statements 2020-05-04 16:47:38 +02:00