Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp6054122rwb; Tue, 1 Aug 2023 11:32:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlFMKsoahOMyi8D7Si+KyGBkDIGsCCGJtu1PSQm1nsT63sqYUu/3dE1AtT2w5ulrNtRz0PoQ X-Received: by 2002:a05:6a00:194b:b0:677:c5bf:dccc with SMTP id s11-20020a056a00194b00b00677c5bfdcccmr14036465pfk.19.1690914729289; Tue, 01 Aug 2023 11:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690914729; cv=none; d=google.com; s=arc-20160816; b=ymuZhLT0kEyA8fT5rJvzAth1HXiMx0cNuJdrGLucZwySV7lfvXl/1VNUO5CMnsIu2W y2S/+Z0wJA/tNUY6W1g8KQd5d+38B4zX1U6MH61KzjAzYamvkRmWeSPqbiXHjDNtyQ/C w/yWEo70rSfd81JyCbPEouwJjBPXguW0dEMcWm9cUVxkfVtQoKnwHJJGUzDkSmji+O6I 9wSaJQix8B/36De8An//YLuUrFIqjAx+FZHYzjd3FikB7RFP1DsU0laHq2YjtdbPbAUy t3DE8D0z8QFQOP2hzHbQUiLBEMMRdKYgSH1m7POAmtmoTCEJRPPiV86AcS4vz5KExqev PcWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2EpDVIlDX2H9hcBKUU2bnV2uAgz8tLVHVeXAEtG+jYc=; fh=u5vE1TE1dJB7o4IGsVvua16vnF8dhcoUHNlJ2pbkr7c=; b=HwVZBBXZEEnif0KiToqjYCz9cFpG4pyKNfQjljJUUm43ir9U/FV8O+rnNIFVayBGqR 3mm7xk0ah8HZWVXdfdvLhnhzYvt/bocY8oMgJEhz49OmJMZjE2/vUtDAXcj6BMjxe86+ Mb2gKqlQeyjuqSK6c46QBpPuEKlrjisUs6o8KXMvQdGl+BMV+k4tZQGYnuf3BXm+rS5m MspeVb4w4+IUqGyohaTAu24+Quz8R77X5ouyTpL7anh14Wexezr3ybjLi9PVb2HLexUh LqQzZ9WJhDzumXKwPv/8ex2Eq9zOIUR5UFxc27wTvY0b7u5QsGdqH+krn6fXUqiNkd/N zAIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EBuJ9EqP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k18-20020a63d112000000b0055ba60a3301si9069079pgg.295.2023.08.01.11.31.57; Tue, 01 Aug 2023 11:32:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EBuJ9EqP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233834AbjHARDP (ORCPT + 99 others); Tue, 1 Aug 2023 13:03:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234075AbjHARDJ (ORCPT ); Tue, 1 Aug 2023 13:03:09 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB9EB2103 for ; Tue, 1 Aug 2023 10:03:08 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-790cadee81bso16451539f.0 for ; Tue, 01 Aug 2023 10:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690909388; x=1691514188; 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=2EpDVIlDX2H9hcBKUU2bnV2uAgz8tLVHVeXAEtG+jYc=; b=EBuJ9EqPoVpoheDdtsOWVahtooQlAWC/0GmlNOPjHSXcBXs3RtWyz0MGpOl0DZe4zh 4HV0hnWXIIrJsYmaKz8XvDUNzTMyQDhfGG5TEfjT+tpsf6nzPj3P2LuzafdI3kyqroGU wEnif67Dn2TzPnBx88OVBRRCZPO4KnV2hL5L312AUzusWTZ8zUjTU2Xk/cEnkdOb9LML Ti2qV3ZYguUtIDNp/SmpEEAkjfOEOmvadmdFvWn8h18aVVvochY6bOEJJlyjiJY8aYg3 QqofLxeXoMuz7w+CVrNw954tOHnNugudCFfnXd6NXxexYYA6PLh9J3TVsxL+ccGHlnzb 6mgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690909388; x=1691514188; 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=2EpDVIlDX2H9hcBKUU2bnV2uAgz8tLVHVeXAEtG+jYc=; b=TQUmEB26YJTh89CXGcFjKj2TVg6tpzZwkT8vWKjQmG1VeJr8D0r0TzgDuPMZd7ra41 eaVYlF2EpeoYZUtu1JeweAZDjDHNxOicTxWULSlQK0JGMo2vS2z0nbHWCQ/1+QycBs8h Q+4ByEa2VPf2LfZ+0smvrtXoIrguhSv5za6oXxbd+pRaYudSsJBZ46ElOb10dJ78gX8i bao4Tg9DXKLzddH5RmKZLy91Pmfqc6zZ8jeHpxvpsDyMQSJf3elkbY9p4gpXej8kjvr/ DQRClgcl4uZmcROUcZzUxynPGuJIj/7RV7es7mphKIJCjWDg4UItfDJETGydTZ4YC9Ga FTpg== X-Gm-Message-State: ABy/qLaTCYNvvO136pr+TXPdExmtvZUZe/g0n4tVYrbNGCKyRLBikVtB CYBthM/Y0Rou6dhycK3choo= X-Received: by 2002:a05:6e02:1c26:b0:348:b910:313d with SMTP id m6-20020a056e021c2600b00348b910313dmr13137612ilh.14.1690909388176; Tue, 01 Aug 2023 10:03:08 -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 o20-20020a02c6b4000000b0042b144abf71sm3768577jan.179.2023.08.01.10.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 10:03:07 -0700 (PDT) From: Jim Cromie To: daniel.vetter@ffwll.ch, daniel@ffwll.ch, jbaron@akamai.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: linux@rasmusvillemoes.dk, joe@perches.com, jani.nikula@intel.com, ville.syrjala@linux.intel.com, seanpaul@chromium.org, robdclark@gmail.com, Jim Cromie Subject: [PATCH v5 01/22] drm: use correct ccflags-y syntax Date: Tue, 1 Aug 2023 11:02:33 -0600 Message-ID: <20230801170255.163237-2-jim.cromie@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230801170255.163237-1-jim.cromie@gmail.com> References: <20230801170255.163237-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Incorrect CFLAGS- usage failed to add -DDYNAMIC_DEBUG_MODULE, which broke builds with: CONFIG_DRM_USE_DYNAMIC_DEBUG=y CONFIG_DYNAMIC_DEBUG_CORE=y but without DYNAMIC_DEBUG Nobody noticed because a larger regression emerged. 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 a33257d2bc7f..670bf046019e 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 \ -- 2.41.0