You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Paul Menzel <[email protected]>
Fixes: 4ce4c73 ("md/core: Combine two sync_page_io() arguments")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Song Liu <[email protected]>
0 commit comments