From patchwork Wed Nov 1 00:26:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Cromie X-Patchwork-Id: 13442442 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 626F4C4332F for ; Wed, 1 Nov 2023 00:29:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1yG4ce14qogeTFTYcvzm+mce96A19F3tSYr9BU7zYhg=; b=Lr4mZIHe3kVvAX 7bctBPXOvTaKtaoqLCBm3TNIGLbbbdE5eHUB+88kPk1qvQqYx4SELlBaX3nP/1naqQo1pz5plqzq4 SB/QOoiHlJpfpupyc/oRIFYSQd4lDEpjRzNj5UpvJB8vpRlGKo3fjiW95VHO0Zqp4BXN49vsRfy+O 7kRg9kEyJmvrmjJlMAWQrvFmZgtuRkSDCF2XTh44+yiHBIHUyDw9mpvfD9ErIIDOdHXnMBQuJaLtN 6u4leAsd2aLLzZC4+E9QSTvQXMC4yRuZVd6BeYwU5gVC9hntqulUJuFlA/EUiMreu+mgkKJWLA+U9 RwvU4DT4+mkbYXEjLBdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxz6X-006Q2C-01; Wed, 01 Nov 2023 00:29:05 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxz4J-006Ofd-3D for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 00:26:51 +0000 Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-35937f2fadeso4154385ab.2 for ; Tue, 31 Oct 2023 17:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698798407; x=1699403207; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5LQP5MFDhA+xfUDGLuGe24GCmwsysAw7CRqOtSg8az8=; b=X69UidwaQxHred3gr8kh3qEkzkMF2zCQ/AOsNmItuvTRJkfKxt06KwD13hCEtveICa 5xQ1ynaXXlTURVtU4r7zfxku2RrHqejN/3t8M+JS6vEfnoVNprGGRp5eHo7nQYzCvFlT LVsKXwqQg2aRyvs9xf4A4Ia6/8ayDoqaNojzuC7VioC8f8HtyOxrKMicAYpr+3n/uvv3 GDif/0n1QjClHVwGif0lb6hrvxv9Vj9Psz0x1smE4y9lZKUrBEyYAVtvg+WpBG9cqXWL caRzs6ET+qlkKSoiYh96yIlhV51m53Uyf6BOdVzuaMU9A4ZlajXJYj5NOuBmRSVHT9rW tO2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698798407; x=1699403207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5LQP5MFDhA+xfUDGLuGe24GCmwsysAw7CRqOtSg8az8=; b=g+1Am+7u6dUYMg6Lv+g0NuLy8Eh5tOqka7BPXSjxxK/KJZJzC82VHn/Ehni+LFd29O 7CD+9Beil8wK/4W0GJ0pyP4Ykt9trbyHYhSoLkM3ZS6BppDWxKX1A9whmGErgJ1fg8EG 6/HZ9MiV2CsTHCmittKcYkiPkhriXh6lwkUCwqXrLbmlr4uyl21MPIQqAtW1JxhRAc0p fLLfpW2Yv2VuYEjNnEQ68JCv/JYZAiflEAXB77ss7AUsyzXhnkHE5Hbd8hjixw84U9bR OlljDUoMzMhZX/NSNKF9hC3LV2Eq8s8bP6RaZg1miUPV16Eoy3jSeWTKd6l6MUTBeq8W brlA== X-Gm-Message-State: AOJu0YxWs6jhjekOy9PtiOc/CQrmze7lO/43nSibQX+3DhF0f9GwbzNk /b5BD0viXmYdIGCqxRsPwb8= X-Google-Smtp-Source: AGHT+IEgTmvlOr9x4bLvw8pciAoCY0BZ4bhDKeUIJ6/TeWefWYnRzCu1JAK61myF6Ajh5soTw+Xx4w== X-Received: by 2002:a92:c266:0:b0:357:5db1:9170 with SMTP id h6-20020a92c266000000b003575db19170mr17284727ild.28.1698798406942; Tue, 31 Oct 2023 17:26:46 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id t1-20020a92c901000000b00357cc8df1d5sm141701ilp.68.2023.10.31.17.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 17:26:46 -0700 (PDT) From: Jim Cromie To: linux-kernel@vger.kernel.org, jbaron@akamai.com, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: lb@semihalf.com, linux@rasmusvillemoes.dk, joe@perches.com, mcgrof@kernel.org, daniel.vetter@ffwll.ch, jani.nikula@intel.com, ville.syrjala@linux.intel.com, seanpaul@chromium.org, robdclark@gmail.com, groeck@google.com, yanivt@google.com, bleung@google.com, linux-doc@vger.kernel.org, quic_saipraka@quicinc.com, will@kernel.org, catalin.marinas@arm.com, quic_psodagud@quicinc.com, maz@kernel.org, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, mingo@redhat.com, jim.cromie@gmail.com Subject: [PATCH v7d 21/23] drm: use correct ccflags-y spelling Date: Tue, 31 Oct 2023 18:26:07 -0600 Message-ID: <20231101002609.3533731-22-jim.cromie@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231101002609.3533731-1-jim.cromie@gmail.com> References: <20231101002609.3533731-1-jim.cromie@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231031_172648_058130_65634573 X-CRM114-Status: GOOD ( 11.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Incorrectly spelled CFLAGS- failed to add -DDYNAMIC_DEBUG_MODULE, which broke builds with: CONFIG_DRM_USE_DYNAMIC_DEBUG=y CONFIG_DYNAMIC_DEBUG_CORE=y CONFIG_DYNAMIC_DEBUG=n Also add subdir-ccflags so that all drivers pick up the addition. Fixes: 84ec67288c10 ("drm_print: wrap drm_*_dbg in dyndbg descriptor factory macro") Signed-off-by: Jim Cromie --- drivers/gpu/drm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 215e78e79125..22b1984cc982 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -3,7 +3,8 @@ # Makefile for the drm device driver. This driver provides support for the # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. -CFLAGS-$(CONFIG_DRM_USE_DYNAMIC_DEBUG) += -DDYNAMIC_DEBUG_MODULE +ccflags-$(CONFIG_DRM_USE_DYNAMIC_DEBUG) += -DDYNAMIC_DEBUG_MODULE +subdir-ccflags-$(CONFIG_DRM_USE_DYNAMIC_DEBUG) += -DDYNAMIC_DEBUG_MODULE drm-y := \ drm_aperture.o \