aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2012-04-03 06:13:36 +0000
committerPhilipp Reisner <[email protected]>2012-05-10 10:00:54 +0000
commitbc4854bc91c9a7f117437215cd8b16a0a5671d93 (patch)
tree569927c0035f099665a4e76412cc090d96ba157b /net/unix/af_unix.c
parentdrbd: Restore the request restart logic (diff)
downloadkernel-bc4854bc91c9a7f117437215cd8b16a0a5671d93.tar.gz
kernel-bc4854bc91c9a7f117437215cd8b16a0a5671d93.zip
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 <[email protected]> Signed-off-by: Philipp Reisner <[email protected]> Signed-off-by: Lars Ellenberg <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions