Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rbd: Use min_t() to fix comparison of distinct pointer types warning
drivers/block/rbd.c: In function ‘zero_pages’: drivers/block/rbd.c:1102: warning: comparison of distinct pointer types lacks a cast Remove the hackish casts and use min_t() to fix this. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Alex Elder <[email protected]>
- Loading branch information