From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751503AbcGMWK6 (ORCPT ); Wed, 13 Jul 2016 18:10:58 -0400 Received: from lists.s-osg.org ([54.187.51.154]:49763 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbcGMWKj (ORCPT ); Wed, 13 Jul 2016 18:10:39 -0400 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, rusty@rustcorp.com.au, hidehiro.kawai.ez@hitachi.com, bp@suse.de, mina86@mina86.com, linux@rasmusvillemoes.dk, joe@perches.com, philipp.reisner@linbit.com, lars.ellenberg@linbit.com, drbd-dev@lists.linbit.com, Luis de Bethencourt Subject: [PATCH v2 2/2] drbd: include dynamic_debug.h in drb_int.h Date: Wed, 13 Jul 2016 23:10:28 +0100 Message-Id: <1468447828-18558-2-git-send-email-luisbg@osg.samsung.com> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1468447828-18558-1-git-send-email-luisbg@osg.samsung.com> References: <1468447828-18558-1-git-send-email-luisbg@osg.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 #include #include -#include #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 #include #include +#include #include #include #include -- 2.5.3