From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7FCCC433DB for ; Wed, 3 Feb 2021 10:09:09 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7274464F59 for ; Wed, 3 Feb 2021 10:09:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7274464F59 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE2606E442; Wed, 3 Feb 2021 10:09:08 +0000 (UTC) Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) by gabe.freedesktop.org (Postfix) with ESMTPS id D364D6E442 for ; Wed, 3 Feb 2021 10:09:06 +0000 (UTC) Received: by mail-ua1-x92b.google.com with SMTP id 20so387247uat.12 for ; Wed, 03 Feb 2021 02:09:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8UwqsER9BCh5drVbM36Ifh+yW1OPJ5L0bJFCfv7FbAI=; b=kWq3/2auFwzEW73Grxb214gWP2GW+zbi8LDy56hriSnYaXBEIsUFBcMxICfDREZ8Fv Y+STxa2N3jTvlu9bMgAXNyl+0tB6XaAVPsFWc5R3USuj6bfIxd0subzgBlwcXAgjk2db 41ratQ+hFLpxKwoqadvC2X6urV+t/pTUbqtVlsIJWbxJz9htTPsa463AlzIhGNurUT06 qkuME60dUI3LDII2z309Gy8XOjjnnsESfd3qz28SB20rpqNKRC8v+I+xoUKk5Ht/iTpv bskwl4L2w4jw3UdS3qJUfgjrdzbqy7wI9SKvZodnFzJHJB9tvT9GusCDlSlG3o1Wpp+b y2zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8UwqsER9BCh5drVbM36Ifh+yW1OPJ5L0bJFCfv7FbAI=; b=uJN6d7czbuS1LWACZOmf+9rrDic0CTtqOOEEM/yHUpU46cf/H1qMapOTHLyBe99yon xM2KN93d0N4Oazocq8BTeyIdLQsQno9mRaEXKWwr9FySrmrq9+32jOaueZtlMSEMzpcG kk8kR2lJcApwmMPE/haHnrEqJ8qd4IyylZXlsVE2oK15WuFTUa94F7YFAv73jFJ3Ol3Q 1YnDO2sJ/GzCjpjxdG8mGUeLmDIjaKf94ETOf+8vEh/UOgC0jrhouieVcNQ5JZKhwoub YSFQDpFYwoVCbrYf16a+5VySQsV9Fa92GLq0EuL2S68CHykO+dizDN1D01k82ZGCo3MS dIoQ== X-Gm-Message-State: AOAM530K19n8k239RKiwATfCwKkhCVlsgqbzjxuYBT98bpnwwHgousnn zpiWWO0T76pU9lJ7x66f8eOiu30YliKso7z+C+c1n4N+2teKTA== X-Google-Smtp-Source: ABdhPJwAovpF4QN+uTDVsrHFvsvDBiDJml+FTXjMW/PF3fqVoHx9/ws4pSmtHsGQw0+Bh1dvEaQTzqmicQeyN/ToQho= X-Received: by 2002:ab0:160f:: with SMTP id k15mr1240780uae.69.1612346946093; Wed, 03 Feb 2021 02:09:06 -0800 (PST) MIME-Version: 1.0 References: <20210202224704.2794318-1-emil.l.velikov@gmail.com> <1eXnpBNSePW1qsq6q5BR3IEa6Q4DGeWBmJ23QArM9eGt12sN9W2Mhpk2OkUwZj-fhRjAtf9XNne5vxJ-7_JjPl549Ml3wxwMo0hhKsojL_4=@emersion.fr> In-Reply-To: <1eXnpBNSePW1qsq6q5BR3IEa6Q4DGeWBmJ23QArM9eGt12sN9W2Mhpk2OkUwZj-fhRjAtf9XNne5vxJ-7_JjPl549Ml3wxwMo0hhKsojL_4=@emersion.fr> From: Emil Velikov Date: Wed, 3 Feb 2021 10:08:54 +0000 Message-ID: Subject: Re: [PATCH] drm/fourcc: introduce DRM_FOURCC_STANDALONE guard To: Simon Ser X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pekka Paalanen , dri-devel , James Park Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, 3 Feb 2021 at 09:27, Simon Ser wrote: > > On Wednesday, February 3rd, 2021 at 1:56 AM, Emil Velikov emil.l.velikov@gmail.com wrote: > > > As summed in the commit message the burden is only applicable when all > > of the following are set: > > - non-linux > > - force DRM_FOURCC_STANDALONE > > - c99 -pedantic > > Oh, and FWIW, this is not a theoretical situation at all. All of these > conditions happen to be true on my compositor. It has FreeBSD CI, > -Werror, and will use DRM_FOURCC_STANDALONE when available. There are ways to disable [1] or silence [2] this - are you intentionally ignoring them? Or the goal here is to 'fix' the kernel for a very uncommon non-linux use-case? -Emil [1] pragma GCC diagnostic warning "-Wpedantic" [2] pragma GCC diagnostic ignored or -std=c11 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel