diff options
author | Bart Van Assche <bvanassche@acm.org> | 2022-07-14 20:06:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-14 20:14:31 +0200 |
commit | ba229aa8f2494bb76aa3f0c80e8a6c0023c829d7 (patch) | |
tree | 1f9acdda627bd7219a7562259a34ff76ebf0b4ac /drivers/nvdimm | |
parent | block/zram: Use enum req_op where appropriate (diff) | |
download | linux-ba229aa8f2494bb76aa3f0c80e8a6c0023c829d7.tar.xz linux-ba229aa8f2494bb76aa3f0c80e8a6c0023c829d7.zip |
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>
Diffstat (limited to 'drivers/nvdimm')
-rw-r--r-- | drivers/nvdimm/btt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/btt.c b/drivers/nvdimm/btt.c index dfbf73145d16..0297b7882e33 100644 --- a/drivers/nvdimm/btt.c +++ b/drivers/nvdimm/btt.c @@ -1422,7 +1422,7 @@ static int btt_write_pg(struct btt *btt, struct bio_integrity_payload *bip, static int btt_do_bvec(struct btt *btt, struct bio_integrity_payload *bip, struct page *page, unsigned int len, unsigned int off, - unsigned int op, sector_t sector) + enum req_op op, sector_t sector) { int ret; |