From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1037241AbdDUJAm (ORCPT ); Fri, 21 Apr 2017 05:00:42 -0400 Received: from mail.netline.ch ([148.251.143.178]:49206 "EHLO netline-mail3.netline.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755249AbdDUJAk (ORCPT ); Fri, 21 Apr 2017 05:00:40 -0400 Subject: Re: [PATCH 01/28] drm/ttm: fix include notation and remove -Iinclude/drm flag To: Masahiro Yamada , David Airlie , Daniel Vetter , Jani Nikula , Sean Paul Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <1492682232-29769-1-git-send-email-yamada.masahiro@socionext.com> <1492682232-29769-2-git-send-email-yamada.masahiro@socionext.com> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= Message-ID: <840b18a4-beae-0b56-f518-885572b24608@daenzer.net> Date: Fri, 21 Apr 2017 18:00:19 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1492682232-29769-2-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/04/17 06:56 PM, Masahiro Yamada wrote: > Include instead of relative path from include/drm, then > remove the -Iinclude/drm compiler flag. > > The fixes of include/drm/ttm/*.h will help driver Makefiles drop > -Iinclude/drm flag. > > Signed-off-by: Masahiro Yamada [...] > diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h > index 6bbd34d..5071d0e 100644 > --- a/include/drm/ttm/ttm_bo_driver.h > +++ b/include/drm/ttm/ttm_bo_driver.h > @@ -30,10 +30,10 @@ > #ifndef _TTM_BO_DRIVER_H_ > #define _TTM_BO_DRIVER_H_ > > -#include > -#include > -#include > -#include > +#include > +#include > +#include > +#include > #include > #include > #include > diff --git a/include/drm/ttm/ttm_execbuf_util.h b/include/drm/ttm/ttm_execbuf_util.h > index 47f35b8..3ad2477 100644 > --- a/include/drm/ttm/ttm_execbuf_util.h > +++ b/include/drm/ttm/ttm_execbuf_util.h > @@ -31,7 +31,7 @@ > #ifndef _TTM_EXECBUF_UTIL_H_ > #define _TTM_EXECBUF_UTIL_H_ > > -#include > +#include > #include > > /** > diff --git a/include/drm/ttm/ttm_lock.h b/include/drm/ttm/ttm_lock.h > index 2902beb..e8a5fcf 100644 > --- a/include/drm/ttm/ttm_lock.h > +++ b/include/drm/ttm/ttm_lock.h > @@ -49,7 +49,7 @@ > #ifndef _TTM_LOCK_H_ > #define _TTM_LOCK_H_ > > -#include > +#include > #include > #include > > diff --git a/include/drm/ttm/ttm_object.h b/include/drm/ttm/ttm_object.h > index 1487011..1c1b9cc 100644 > --- a/include/drm/ttm/ttm_object.h > +++ b/include/drm/ttm/ttm_object.h > @@ -42,7 +42,7 @@ > #include > #include > #include > -#include > +#include > > /** > * enum ttm_ref_type > These could all be simplified to #include "ttm_memory.h" etc. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer