From patchwork Mon Aug 24 16:34:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 7065641 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 73EB19F749 for ; Mon, 24 Aug 2015 16:30:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D79F20789 for ; Mon, 24 Aug 2015 16:30:29 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C30C020787 for ; Mon, 24 Aug 2015 16:30:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 351D77208A; Mon, 24 Aug 2015 09:30:27 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6691E6E9F8 for ; Mon, 24 Aug 2015 09:30:23 -0700 (PDT) Received: by wijp15 with SMTP id p15so83158822wij.0 for ; Mon, 24 Aug 2015 09:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=86AdfOLbVGihX0bkN9G21u87vm760leD3qqxPlDbDK4=; b=ArBgQvAfHT2pvDV6C+O0Ojem+F3qiDtK/wUnwKnvOmrXLhne417PbzpDq3yYxZYxmp eRs1/Vtr2bO4ptXTKzF5Eb4gnjRu84CJlQ3p/LCov3CGb9Ekyw2/HXb6Qmp4dKCnE9LT lAvMKvTbvuiQlu5stZ9BgfthnBKE0mHmJTHhcUscCzeHBAHa1zCjFkii5wocKrdnM+sr G8odSQ1JZU2yIQ/VRC3hSRzsC2EW0pQJ2f5MPu+Rxa59AN80VC6R1YFRcaXutHxB941u gvGteHx+Wnzk7gkA/ozMiQco06/8BIzqSsWK6TCrBzdaleSsFgYCaj6zIGhlPRfNrn3n 7aow== X-Received: by 10.180.97.41 with SMTP id dx9mr30857525wib.34.1440433822148; Mon, 24 Aug 2015 09:30:22 -0700 (PDT) Received: from arch-x220.localdomain (cpc12-croy20-2-0-cust52.croy.cable.virginm.net. [82.44.54.53]) by smtp.gmail.com with ESMTPSA id ll1sm16885984wic.14.2015.08.24.09.30.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Aug 2015 09:30:21 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 16/17] intel: ignore missing-field-initializers warnings Date: Mon, 24 Aug 2015 17:34:19 +0100 Message-Id: <1440434060-31347-16-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1440434060-31347-1-git-send-email-emil.l.velikov@gmail.com> References: <1440434060-31347-1-git-send-email-emil.l.velikov@gmail.com> Cc: emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY,URIBL_BLACK autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We're about to remove the -Wno flag from configure.ac which will lead to a lot of unnecessary spam. Signed-off-by: Emil Velikov --- intel/intel_decode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/intel/intel_decode.c b/intel/intel_decode.c index 345d457..e7aef74 100644 --- a/intel/intel_decode.c +++ b/intel/intel_decode.c @@ -38,6 +38,9 @@ #include "intel_chipset.h" #include "intel_bufmgr.h" +/* The compiler throws ~90 warnings. Do not spam the build, until we fix them. */ +#pragma GCC diagnostic ignored "-Wmissing-field-initializers" + /* Struct for tracking drm_intel_decode state. */ struct drm_intel_decode { /** stdio file where the output should land. Defaults to stdout. */