Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp3104481rdb; Tue, 13 Feb 2024 07:05:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGib+ST3g//GfNjZ7IOHIb0FfR0wDaUK25K3JNRaZWNyMJRX8EiU+9Fwts7kzWhkfXWLhd4 X-Received: by 2002:aa7:d7d4:0:b0:560:f198:2487 with SMTP id e20-20020aa7d7d4000000b00560f1982487mr8063964eds.25.1707836714734; Tue, 13 Feb 2024 07:05:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707836714; cv=pass; d=google.com; s=arc-20160816; b=X6Vs8iOiS4xWNPRaPjipa3VWSNniRDQxJsWnuLzaV4c42loQx1NHwsc15FzFBSlIz1 uQ1QskmA91UT87vnMFIfC0dcdbDmgtPTBzYHy7hWvCM2FgdAgrEczwpgrKG/vz528SWA V+UJIFc+ICQ0YRO6+c6N4pRA8IUvOqu+ypkyKywANL4aVyHiWXmyJdqwxBufvewEkGkd JFDMiGNZ2CD2ptOVv8BHNNZ2tfx7e0DY02Q5sNQ1mT0SvLV8HRUJb0hTd4n8AWzD5g+S olXGFxhl5AnVr2KAHwC1mSbRfiYhmHdGebrVvr7X66Ll66Gg55v5SgbCyL8uvzhHPj6i ZD5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=gIhltuSg5f07BAmyhLRuaUI07Ue7i03H63GgJHWxFt0=; fh=g6yoM4+eSmdg8MrBWc2lwEl6tqOohcOAzXfHjhLKfe4=; b=VfTA7W7RFLe5vxQ3u/eRhKOmahOfpT6NTkhQc6kkz5eFpmjDK13vJ09XoZtWcTtFyu 3sSzlr59OAmVHQZKyUI+qVRHUbG0hPbIeTzQjGcix6vucAcVjG1XhRaAqDq/zuOjbVtU NCZr5Xcj0jPwiSJRWBUlLwaKtp4w9QyKkinL5jjX8aZHM8sxX0DTnqtKtaMDIDvmDQE2 EaO+kIRMJ0Pi//rwAmihTQVaRe9w5Vt1nKRe5Vc9X1n0bWhhOlWmM7uRj0/07OC4JjhV LTkqvlvwgqfB6P5G3SPIBK4dnNJ7agj1JcCS4jH9MmPY+2/0O9y34ry487iw5W+nSxOW BtHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=BbJjjegB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=pMFmdCxv; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-63750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de X-Forwarded-Encrypted: i=2; AJvYcCXR+80Uwkh0s5bS58ZLj0IA4FDiJ6bCW/0dkVxgHoj2VtnkCZYri+YAhpSVjj2V9SEHW51ytVfV8x0zJ+ljaMBv63RWBJTXBqMOfjRlXw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e26-20020a056402089a00b005613f9887bfsi3896931edy.123.2024.02.13.07.05.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 07:05:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=BbJjjegB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=pMFmdCxv; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-63750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 020C11F2A0DD for ; Tue, 13 Feb 2024 15:01:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36C705FEF7; Tue, 13 Feb 2024 14:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="BbJjjegB"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="pMFmdCxv" Received: from wfout1-smtp.messagingengine.com (wfout1-smtp.messagingengine.com [64.147.123.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C546D5FEEB for ; Tue, 13 Feb 2024 14:59:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.144 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836360; cv=none; b=U3esuDT1DxG2OQa1SRNSvp/kwdP9mA2LlZG3l4qFHKoT+E39Bl6KJFsM0axShcZfJ7sX+xkuNkdHdrVG7I6Wm68+J+yzzX6XgVYVCLIdXptMt0TS6+A68zUEeUpTPhVnFUQAGL7wrs6xBllYfiBfAZPNmuLiHLkg2p5eDYz7fbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836360; c=relaxed/simple; bh=wNwnNSGdVzE3t9gaViaE+/JueHQ8uupULFvu9iD61S0=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=DaB6Ab11kK/IhbPrD5HhQVyan1vNDV0BlLLbTlvZE8aqRIxAbUA88k4BBCqFsAVlFEteFtuutKR/pDEvwm7Qrnv8Ok050Pq30nGNXpdHR+XTk4nKrxuhUGo5E4i9q8ted8kNIYWV01BVOEXa349UyW31wkQa1JmFIOMVxrMQyCk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=BbJjjegB; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=pMFmdCxv; arc=none smtp.client-ip=64.147.123.144 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.west.internal (Postfix) with ESMTP id 5E0EB1C0009F; Tue, 13 Feb 2024 09:59:16 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Tue, 13 Feb 2024 09:59:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1707836355; x=1707922755; bh=gIhltuSg5f 07BAmyhLRuaUI07Ue7i03H63GgJHWxFt0=; b=BbJjjegBA+jDVdmuiQT4bMkomq WcVqztPOzaaRGkHsuf2WEYqqDrse5N0sr2oFCBRV2L1/bWdmmIVGKT6wSvxo+czG GUZFYbijTJUpjSRdZWHQNrNeFA4/x52agtiva0X2AGfdZtr3fTga8KE9htXQKCat AYqmx6Xuj6aA4vx3viza4Rp8HEbVhnprBcvJZcJaQR2ooRIY+oG6Y2stFJoBloSX MsSOp2ODDJxV6u7bHD8SmymmjUq8FDTmHQthasymrp6yhotuqXjjJOMLhE0KtBkO 27FRk46TH4IACaPcYHxlmGJof9CtztH/vdc1243IH3GxAFcu4JWbbhXkYuGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1707836355; x=1707922755; bh=gIhltuSg5f07BAmyhLRuaUI07Ue7 i03H63GgJHWxFt0=; b=pMFmdCxvPYBNFM1HifBRMaH2pg4DtihTJGksRgUpCpAL ftEFHc6I2iedyWUJpXxkrMn7D6Gz8JI4qXknrn+W4jY9JPEDt0kmbSRAQ1tpMGex G89ZR3TcaTL4Dz48Yo1Qh3iO1AjJoroPXj2Ra9US9SPAEZMmnzoBfTTKvAGaMWdV n8rixKSIOTJ2J5TZ4Bez03sbdzgaeGablHw2bMemfU52BJJ1s1137Zgp+okw903A HVz8ANDeIGqcJuS1fyjslZVyah/4I1BDvI7G+xlf/vuvTg4F5N3Vic+zut83kXEd bYhLrR1G/SnEwKYt/75GFwVaDHfOg0NDw9OS+yvkaw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehgdejudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3A6B7B6008D; Tue, 13 Feb 2024 09:59:15 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <17209419-093b-4674-8b43-06c92312ef61@app.fastmail.com> In-Reply-To: <877cj88lck.fsf@intel.com> References: <20240213134817.3347574-1-arnd@kernel.org> <877cj88lck.fsf@intel.com> Date: Tue, 13 Feb 2024 15:58:54 +0100 From: "Arnd Bergmann" To: "Jani Nikula" , "Arnd Bergmann" , "Lucas De Marchi" , "Oded Gabbay" , =?UTF-8?Q?Thomas_Hellstr=C3=B6m?= Cc: "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "Dave Airlie" , "Daniel Vetter" , "Rodrigo Vivi" , "Matt Roper" , "Matthew Brost" , "Riana Tauro" , "Daniele Ceraolo Spurio" , intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/xe: skip building debugfs code for CONFIG_DEBUG_FS=n Content-Type: text/plain On Tue, Feb 13, 2024, at 15:55, Jani Nikula wrote: > On Tue, 13 Feb 2024, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> Some of the debugfs functions are stubbed out in these configurations, >> so trying to build the .c file with the definition fails: >> >> In file included from include/uapi/linux/posix_types.h:5, >> from drivers/gpu/drm/i915/display/intel_pipe_crc.c:27: >> drivers/gpu/drm/i915/display/intel_pipe_crc.c: At top level: >> include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void' >> 8 | #define NULL ((void *)0) >> | ^~~~ >> drivers/gpu/drm/i915/display/intel_pipe_crc.c:549:20: note: in expansion of macro 'intel_crtc_get_crc_sources' >> 549 | const char *const *intel_crtc_get_crc_sources(struct drm_crtc *crtc, >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Stop trying to build them by making the Makefile entries conditional, >> same as for the i915 driver. > > Already fixed by commit 439987f6f471 ("drm/xe: don't build debugfs files > when CONFIG_DEBUG_FS=n") in drm-xe-next. > > Maybe that needs to be picked up for -fixes? I made sure that this still happens in linux-next today, but it does not seem to contain 439987f6f471. Arnd