linux/drivers/block/drbd
Cong Wang bc4854bc91 drbd: check MODULE for THIS_MODULE
THIS_MODULE is NULL only when drbd is compiled as built-in,
so the #ifdef CONFIG_MODULES should be #ifdef MODULE instead.

This fixes the warning:

drivers/block/drbd/drbd_main.c: In function ‘drbd_buildtag’:
drivers/block/drbd/drbd_main.c:4187:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘__this_module’ will never be NULL [-Waddress]

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2012-05-10 12:00:54 +02:00
..
drbd_actlog.c drbd: introduce a bio_set to allocate housekeeping bios from 2012-05-09 15:17:07 +02:00
drbd_bitmap.c drbd: introduce a bio_set to allocate housekeeping bios from 2012-05-09 15:17:07 +02:00
drbd_int.h drbd: introduce a bio_set to allocate housekeeping bios from 2012-05-09 15:17:07 +02:00
drbd_main.c drbd: check MODULE for THIS_MODULE 2012-05-10 12:00:54 +02:00
drbd_nl.c drbd: fix race between drbdadm invalidate/verify and finishing resync 2012-05-09 15:16:59 +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: introduce a bio_set to allocate housekeeping bios from 2012-05-09 15:17:07 +02:00
drbd_req.c drbd: Restore the request restart logic 2012-05-09 17:20:59 +02:00
drbd_req.h drbd: Immediately allow completion of IOs, that wait for IO completions on a failed disk 2012-05-09 10:16:04 +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: move put_ldev from __req_mod() to the endio callback 2012-05-09 15:16:51 +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