From: David Howells Date: Tue, 14 Jun 2011 23:59:04 +0000 (+0100) Subject: DRBD: Fix comparison always false warning due to long/long long compare X-Git-Tag: v3.5-rc1~41^2^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f138ce01ae6430db2e2cebd0a945dff75581d62;p=pandora-kernel.git DRBD: Fix comparison always false warning due to long/long long compare Fix warnings of the following nature in the drbd header: In file included from drivers/block/drbd/drbd_bitmap.c:32: drivers/block/drbd/drbd_int.h: In function 'drbd_get_syncer_progress': drivers/block/drbd/drbd_int.h:2234: warning: comparison is always false due to limited range of data where mdev->rs_total (an unsigned long) is being compared to 1ULL << 32, which is always false on a 32-bit machine. Signed-off-by: David Howells Signed-off-by: Lars Ellenberg Signed-off-by: Philipp Reisner --- Reading git-diff-tree failed