From: Ben Widawsky Subject: [PATCH 1/5] i-g-t: silence -Winline Date: Sun, 15 Jan 2012 18:21:22 -0800 Message-ID: <1326680486-12083-2-git-send-email-ben@bwidawsk.net> References: <1326680486-12083-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id CF2899E7CC for ; Sun, 15 Jan 2012 18:21:42 -0800 (PST) In-Reply-To: <1326680486-12083-1-git-send-email-ben@bwidawsk.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org In this case, the code already has a comment about the problem. We don't need to flood the build with this less than useful message. Signed-off-by: Ben Widawsky --- lib/intel_batchbuffer.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 4b0ae42..4dffda7 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -43,6 +43,7 @@ void intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch, * be passed as structs rather than dwords, but that's a little bit of * work... */ +#pragma GCC diagnostic ignored "-Winline" static inline int intel_batchbuffer_space(struct intel_batchbuffer *batch) { -- 1.7.8.3