diff options
author | Bart Van Assche <[email protected]> | 2024-01-07 16:12:23 -0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2024-01-09 15:14:01 -0800 |
commit | 7dab24554dedd4e6f408af8eb2d25c89997a6a1f (patch) | |
tree | aed7abecf4a8bab8b91fdc284a3109991b196a73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f9cfe7e7f96a9414a17d596e288693c4f2325d49 (diff) |
md/raid1: Use blk_opf_t for read and write operations
Use the type blk_opf_t for read and write operations instead of int. This
patch does not affect the generated code but fixes the following sparse
warning:
drivers/md/raid1.c:1993:60: sparse: sparse: incorrect type in argument 5 (different base types)
expected restricted blk_opf_t [usertype] opf
got int rw
Cc: Song Liu <[email protected]>
Cc: Jens Axboe <[email protected]>
Fixes: 3c5e514db58f ("md/raid1: Use the new blk_opf_t type")
Cc: [email protected] # v6.0+
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions