From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938617AbcISN2N (ORCPT ); Mon, 19 Sep 2016 09:28:13 -0400 Received: from mga09.intel.com ([134.134.136.24]:29584 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755810AbcISN2E (ORCPT ); Mon, 19 Sep 2016 09:28:04 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,361,1470726000"; d="scan'208";a="1058925961" From: Jani Nikula To: Arnd Bergmann , David Airlie Cc: Arnd Bergmann , Daniel Vetter , Dave Airlie , Mika Kahola , Ville =?utf-8?B?U3lyasOkbMOk?= , Lyude , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm: include linux/seq_file.h as needed In-Reply-To: <20160919125218.1565529-1-arnd@arndb.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20160919125218.1565529-1-arnd@arndb.de> User-Agent: Notmuch/0.22.1+63~g648dcc7 (https://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Mon, 19 Sep 2016 16:27:41 +0300 Message-ID: <87vaxsm33m.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Sep 2016, Arnd Bergmann wrote: > The addition of the debugfs info created references to seq_puts() and > seq_printf(), but relied on the debugfs header to be included implicitly, > which apparently doesn't happen all the time, as seen from this randconfig > build output: > > drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_downstream_debug': > drivers/gpu/drm/drm_dp_helper.c:552:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] > drivers/gpu/drm/drm_dp_helper.c:560:3: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration] > > Adding the extra include brings back a clean build. Beat you to it, but no review/acks... http://patchwork.freedesktop.org/patch/msgid/1474020396-14875-1-git-send-email-jani.nikula@intel.com BR, Jani. > > Fixes: 80209e5f2c42 ("drm: Add DP branch device info on debugfs") > Signed-off-by: Arnd Bergmann > --- > drivers/gpu/drm/drm_dp_helper.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c > index a07adf0a07db..3e6fe82c6d64 100644 > --- a/drivers/gpu/drm/drm_dp_helper.c > +++ b/drivers/gpu/drm/drm_dp_helper.c > @@ -27,6 +27,7 @@ > #include > #include > #include > +#include > #include > #include -- Jani Nikula, Intel Open Source Technology Center