diff options
author | David Howells <dhowells@redhat.com> | 2011-06-15 00:59:04 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:57:48 +0100 |
commit | 3b7cd457d0c8458f6a4df2854f75fd80c0338f93 (patch) | |
tree | 4a6add15574c733ae5112029a8f716acb2cbb9bf /fs/binfmt_elf_fdpic.c | |
parent | 6dff2902208364d058746ee794da4d960f6eec6f (diff) | |
download | talos-obmc-linux-3b7cd457d0c8458f6a4df2854f75fd80c0338f93.tar.gz talos-obmc-linux-3b7cd457d0c8458f6a4df2854f75fd80c0338f93.zip |
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>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions