From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752052Ab1APLQX (ORCPT ); Sun, 16 Jan 2011 06:16:23 -0500 Received: from na3sys009aog113.obsmtp.com ([74.125.149.209]:58130 "EHLO na3sys009aog113.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751839Ab1APLQW (ORCPT ); Sun, 16 Jan 2011 06:16:22 -0500 Date: Sun, 16 Jan 2011 13:16:16 +0200 From: Felipe Balbi To: Chris Wilson Cc: Felipe Balbi , linux-kernel@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org Subject: Re: [PATCH 1/2] drm: fixup headers_check Message-ID: <20110116111616.GC2456@legolas.emea.dhcp.ti.com> Reply-To: balbi@ti.com References: <1295174783-4099-1-git-send-email-balbi@ti.com> <0d30dc$kp159h@orsmga001.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0d30dc$kp159h@orsmga001.jf.intel.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 16, 2011 at 11:07:32AM +0000, Chris Wilson wrote: > On Sun, 16 Jan 2011 12:46:22 +0200, Felipe Balbi wrote: > > Drop the following headers_check errors: > > /linux-2.6/usr/include/drm/drm_mode.h:85: found > > __[us]{8,16,32,64} type without #include > > /linux-2.6/usr/include/drm/i915_drm.h:120: found > > __[us]{8,16,32,64} type without #include > > /linux-2.6/usr/include/drm/mga_drm.h:260: found > > __[us]{8,16,32,64} type without #include > > /linux-2.6/usr/include/drm/radeon_drm.h:758: found > > __[us]{8,16,32,64} type without #include > > /linux-2.6/usr/include/drm/via_drm.h:117: found > > __[us]{8,16,32,64} type without #include > > > > Cc: David Airlie > > Cc: Chris Wilson > > Cc: dri-devel@lists.freedesktop.org > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Felipe Balbi > > --- > > include/drm/drm_mode.h | 2 ++ > > include/drm/i915_drm.h | 1 + > > include/drm/mga_drm.h | 1 + > > include/drm/radeon_drm.h | 1 + > > include/drm/via_drm.h | 1 + > > 5 files changed, 6 insertions(+), 0 deletions(-) > > > > diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h > > index 0fc7397..1678d7b 100644 > > --- a/include/drm/drm_mode.h > > +++ b/include/drm/drm_mode.h > > @@ -27,6 +27,8 @@ > > #ifndef _DRM_MODE_H > > #define _DRM_MODE_H > > > > +#include > > + > > Would > > #if 0 > #include /* silence make header_check */ > #endif > > be an acceptable compromise? Why would you want to do that ? I truly have those types in use. headers_check seems to be reporting correctly. -- balbi