]> git.baikalelectronics.ru Git - kernel.git/commit
nvdimm-btt: Use the enum req_op type
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:45 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:31 +0000 (12:14 -0600)
commit6ebfceb106a4772d644fdde0efc4d274fe918302
tree1f9acdda627bd7219a7562259a34ff76ebf0b4ac
parent8d73fde83ff32be8c2797b65701642db673d7748
nvdimm-btt: Use the enum req_op type

Improve static type checking by using the enum req_op type where
appropriate.

Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-20-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvdimm/btt.c