summaryrefslogtreecommitdiffstats
path: root/include/linux/drbd_limits.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-06-15 00:59:04 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-05-09 10:03:19 +0200
commit5f138ce01ae6430db2e2cebd0a945dff75581d62 (patch)
tree4790fc682c7366b4f3fb72f28af2238052ee9309 /include/linux/drbd_limits.h
parent7948bcdc38b9af9ef3e72199cdea1d775a9537fc (diff)
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 <dhowells@redhat.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'include/linux/drbd_limits.h')
0 files changed, 0 insertions, 0 deletions