[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1468447828-18558-2-git-send-email-luisbg@osg.samsung.com>
Date: Wed, 13 Jul 2016 23:10:28 +0100
From: Luis de Bethencourt <luisbg@....samsung.com>
To: linux-kernel@...r.kernel.org
Cc: akpm@...ux-foundation.org, rusty@...tcorp.com.au,
hidehiro.kawai.ez@...achi.com, bp@...e.de, mina86@...a86.com,
linux@...musvillemoes.dk, joe@...ches.com,
philipp.reisner@...bit.com, lars.ellenberg@...bit.com,
drbd-dev@...ts.linbit.com,
Luis de Bethencourt <luisbg@....samsung.com>
Subject: [PATCH v2 2/2] drbd: include dynamic_debug.h in drb_int.h
dynamic_debug.h isn't included via kernel.h anymore. Since drbd_int.h needs
it to access dynamic_dev_dbg for dynamic_drbd_dbg, include the header
directly.
Removing inclusion of dynamic_debug.h from drbd_actlog.c since it is
already included via drbd_int.h.
Signed-off-by: Luis de Bethencourt <luisbg@....samsung.com>
---
Hi,
Thanks to kbuild test robot for pointing this out [0]
It only happened if CONFIG_DYNAMIC_DEBUG was not set, which is why I
accidentaly missed in my testing.
Luis
[0] https://lists.01.org/pipermail/kbuild-all/2016-July/021902.html
drivers/block/drbd/drbd_actlog.c | 1 -
drivers/block/drbd/drbd_int.h | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/drbd/drbd_actlog.c b/drivers/block/drbd/drbd_actlog.c
index 0a1aaf8..2d3d50a 100644
--- a/drivers/block/drbd/drbd_actlog.c
+++ b/drivers/block/drbd/drbd_actlog.c
@@ -27,7 +27,6 @@
#include <linux/crc32c.h>
#include <linux/drbd.h>
#include <linux/drbd_limits.h>
-#include <linux/dynamic_debug.h>
#include "drbd_int.h"
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 7b54354..4cb8f21 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -41,6 +41,7 @@
#include <linux/backing-dev.h>
#include <linux/genhd.h>
#include <linux/idr.h>
+#include <linux/dynamic_debug.h>
#include <net/tcp.h>
#include <linux/lru_cache.h>
#include <linux/prefetch.h>
--
2.5.3
Powered by blists - more mailing lists