diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-05-13 21:35:37 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-01 12:52:01 -0400 |
commit | 491205a8b45e3d9b594e1e7a997284f2e82f22e9 (patch) | |
tree | a8f071d554ad6024485af5e791012b9a0ea3fea6 /fs | |
parent | 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff) |
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 <geert@linux-m68k.org>
Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions