linux/drivers/block/drbd
David Howells 5f138ce01a 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>
2012-05-09 10:03:19 +02:00
..
drbd_actlog.c drbd: we should write meta data updates with FLUSH FUA 2011-06-30 09:23:46 +02:00
drbd_bitmap.c drbd: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:29 +08:00
drbd_int.h DRBD: Fix comparison always false warning due to long/long long compare 2012-05-09 10:03:19 +02:00
drbd_main.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
drbd_nl.c drbd: spelling fix: too small 2012-05-09 10:02:22 +02:00
drbd_proc.c drbd: cosmetic: fix accidental division instead of modulo when pretty printing 2012-05-09 10:01:39 +02:00
drbd_receiver.c drbd: Lower log priority for an event that is definitely not an error 2012-05-09 09:59:29 +02:00
drbd_req.c block: remove support for bio remapping from ->make_request 2011-09-12 12:12:01 +02:00
drbd_req.h drbd: fix warning 2011-05-24 10:38:33 +02:00
drbd_strings.c drbd: Rename enum drbd_state_ret_codes to enum drbd_state_rv 2011-03-10 11:36:18 +01:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: Use the correct max_bio_size when creating resync requests 2011-06-30 09:23:40 +02:00
drbd_wrappers.h drbd: Get rid of unnecessary macros (2) 2011-03-10 11:36:15 +01:00
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: remove tracing bits 2009-10-01 21:17:58 +02:00