Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp961661rdb; Wed, 6 Dec 2023 05:10:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYdJnSVX35Tg3vIanB+ew6YgJFD3qVRi8karbu/2FxZTJAwvJusjvYkWNm8iwkQwMgVhoL X-Received: by 2002:a17:903:1cb:b0:1d0:6ffd:9e38 with SMTP id e11-20020a17090301cb00b001d06ffd9e38mr722097plh.138.1701868245374; Wed, 06 Dec 2023 05:10:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701868245; cv=none; d=google.com; s=arc-20160816; b=lXmgyhdBiuQ5EzQ6hKCBf7kpNmCqPFJz1p0+CgEBYjBQ99zGqtqcss0CjyNqmarrdP MPjWzHwjNbHDEEcemztryDV2h0FgD/wjYI427c7EkNvRJUKRQs21jH+0qqU8Lg2/55nB mLdnr5MgS6yKoiuhOJ7MO+VtcQSMFL3T0fbMYlntDNGN8LBEs9/mN4F0qtV3gNwwEaKs alxVneP9zdvSAyKFMHpTatDjxk4mzQYUfdbrfeTxyR1LPsh4FxKLSXSR5jK+5+viu2Ef sEl13bk1eqv/rI/QvnXnwtFDOy/JTIXbTLGJitLFKOGcAc2zz/5ABNj/rKES1RP/CYkY DSMw== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=zB3s5ceGoIVZcYKZXSyS1aOu5p7SQGjjD4HefGGZ8Cw=; fh=jU0RKNlDv+VYsr8kIXzBm7RoaoxKuqt+aecRwEywZ+c=; b=Mcwo2EKKBGVbsRrbe4u74LJJhfGUSrFmYYDyzmCsz/MHW6JxYs0vZJFbZNUd5U1yxt 6snY74xQCxeTAqkXHwr7qyHi2cUuutyf8+LSWJUnIoPjMdVAzYz7ahH4u+jYXugqtvX4 oioEuSDMr6ppYCnQN0c/SuY1cQozS7E1Tu7tcWEL6Qlb8cEvC18qYy9OBLKk39A+IqJx rguCjV3APFr3EQhiG+LT9/I86IdzUZr1ciPPrVhTXoaPcXuld3Qm4HHmyU/yf0Pu03WR Rt3fHqQ5d/9mUK+ti8TFK7H1NI8Xwi42acbk0gVOd5/7htY79gaq7kwVdmVWJK5V3HcU HeWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EPvHc7hY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q18-20020a17090311d200b001cc282684c6si11717802plh.278.2023.12.06.05.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 05:10:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EPvHc7hY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 061C6802A6E6; Wed, 6 Dec 2023 05:10:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378423AbjLFNKQ (ORCPT + 99 others); Wed, 6 Dec 2023 08:10:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378414AbjLFNKO (ORCPT ); Wed, 6 Dec 2023 08:10:14 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ABAB1A5 for ; Wed, 6 Dec 2023 05:10:20 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE206C433C8; Wed, 6 Dec 2023 13:10:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701868220; bh=h9KWpohyTTR3pTq0NasEcVnQ4d28IL9h85MEdUeIIK0=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=EPvHc7hY/n7aNn4K0+fbS9tNtpE4h3wneK9nI/9mhJZtawvSq6BdhQYu2mMnimYaT 8L9nhgbracmjU6JuMzv8Mc5JksS5UYPnSXlvW481bxAVtaKuVzlVG0BG0jB/HX5ZiZ O/fgZsW12TkNt7P/zT/gREKO3uMn0FwteP9SfGGGP8/2+Scr2xQGE0oMwfM9gNBgY9 c8/PO8qgnkJFdivu6dl2kqLjpQSny1wFq8Sp1yPUEBrRDTe3W8IVzhdy5aN/LGf/vy XJPr6IELbXQjivPkFk8TVp3dcnEXwzAV7UHXMVw1aQ3V56kSjBzg5zldiyaWOzJ0h5 6+Up6o37toN1g== From: Maxime Ripard To: Frank Binns , Donald Robson , Matt Coster , Maarten Lankhorst , Sarah Walker , Arnd Bergmann Cc: Arnd Bergmann , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org In-Reply-To: <20231204073231.1164163-1-arnd@kernel.org> References: <20231204073231.1164163-1-arnd@kernel.org> Subject: Re: (subset) [PATCH] drm/imagination: move update_logtype() into ifdef section Message-Id: <170186821781.357447.7620047835600780144.b4-ty@kernel.org> Date: Wed, 06 Dec 2023 14:10:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 06 Dec 2023 05:10:30 -0800 (PST) On Mon, 04 Dec 2023 08:32:10 +0100, Arnd Bergmann wrote: > This function is only used when debugfs is enabled, and otherwise > causes a build warning: > > drivers/gpu/drm/imagination/pvr_fw_trace.c:135:1: error: 'update_logtype' defined but not used [-Werror=unused-function] > > Move the #ifdef check to include this function as well. > > [...] Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime