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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BE06FC3ABB2 for ; Mon, 16 Sep 2024 07:43:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F69110E183; Mon, 16 Sep 2024 07:43:48 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="TkgRXZXO"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id A80DB10E15F; Mon, 16 Sep 2024 07:43:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726472627; x=1758008627; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=69UUwBAZ4rDPxmd5C0S5dgaXwBaxCU0cRIu3YPKdlL4=; b=TkgRXZXO6jCy2U2PKX+4SaNTgIBPT1iwhe2+MpAydP/1flA/OoP8ZZKO Ij6MmLyvGWASYx+I/+WpK1/on26rdSQMuYRThmKJ0JEumFR0WzIYj+iLE XrvmtGzCyXPeJ06RzD865y/mn6xc7xEwk58ijdOPxlcJ9qwL5VPrAjS7w auN8UGauiGfyejn6AdwBQorqcffs6kFfzgXGxqMeXol/oCsqUlnKkGuq9 TaLCWm+DMzAnZ5tfRgNmTMZqHlXw82++nCP3Tc3JbEn88heoT1l4cv3oP ok+cQf57z/2A0SpbfA2jX0lzdHlCHWov1pdp/+mfENT1KdbEQdYRxL+8W w==; X-CSE-ConnectionGUID: 2tVP/abuT2em4iWQeStY0g== X-CSE-MsgGUID: /0r8SBYTQJ+/G4Q+E7XFTg== X-IronPort-AV: E=McAfee;i="6700,10204,11196"; a="35862508" X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="35862508" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2024 00:43:47 -0700 X-CSE-ConnectionGUID: DURGps4IQyiXfv/iAvS5bg== X-CSE-MsgGUID: 8YA9GgzyQ024+G4zPL7x4g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="68492719" Received: from mjarzebo-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.249]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2024 00:43:45 -0700 From: Jani Nikula To: Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, Nathan Chancellor , Neil Armstrong , linux-amlogic@lists.infradead.org Subject: Re: [PATCH 6/8] drm/meson: dw-hdmi: annotate dw_hdmi_dwc_write_bits() with __maybe_unused In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: Date: Mon, 16 Sep 2024 10:43:41 +0300 Message-ID: <87zfo8cac2.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Sun, 15 Sep 2024, Martin Blumenstingl wrote: > Hi Jani, > > On Tue, Sep 10, 2024 at 12:08=E2=80=AFPM Jani Nikula wrote: >> >> Building with clang and and W=3D1 leads to warning about unused >> dw_hdmi_dwc_write_bits(). Fix by annotating it with __maybe_unused. >> >> See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static >> inline functions for W=3D1 build"). >> >> Signed-off-by: Jani Nikula > I prefer dropping this function for which there's a patch already: [0] Even better, thanks! BR, Jani. > > > [0] https://lore.kernel.org/linux-amlogic/20240908-regmap-config-const-v1= -1-28f349004811@linaro.org/ --=20 Jani Nikula, Intel