diff options
author | Bart Van Assche <bvanassche@acm.org> | 2022-08-10 11:20:12 -0700 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2022-08-24 10:26:35 -0700 |
commit | 265ad47a40da581be77172b4a8e1fb72b2bd914a (patch) | |
tree | 5798c8dbac9f7c47c7cfa43f8121960ab40b0cbc /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
parent | c490a0b5a4f36da3918181a8acdc6991d967c5f3 (diff) |
md/raid10: Fix the data type of an r10_sync_page_io() argument
Fix the following sparse warning:
drivers/md/raid10.c:2647:60: sparse: sparse: incorrect type in argument 5 (different base types) @@ expected restricted blk_opf_t [usertype] opf @@ got int rw @@
This patch does not change any functionality since REQ_OP_READ = READ = 0
and since REQ_OP_WRITE = WRITE = 1.
Cc: Rong A Chen <rong.a.chen@intel.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Paul Menzel <pmenzel@molgen.mpg.de>
Fixes: 4ce4c73f662b ("md/core: Combine two sync_page_io() arguments")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions