From: Geert Uytterhoeven Date: Tue, 14 May 2013 01:35:37 +0000 (-0500) Subject: rbd: Use min_t() to fix comparison of distinct pointer types warning X-Git-Tag: v3.11-rc1~69^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=491205a8b45e3d9b594e1e7a997284f2e82f22e9;p=pandora-kernel.git 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 Reviewed-by: Alex Elder --- Reading git-diff-tree failed