From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 5CBBE176FCF for ; Thu, 12 Sep 2024 11:15:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726139725; cv=none; b=iyXwErcYxITjT8DFfunZuKXC4zNOUmiqdqiGHUTe4ebfbWOPsWPLhuTOBclgFcqhoKhWf2B5J4V5A5QpzJGH/pEUM6+yrbA7tbzOA+KKcY5r4EDAEJpUnHrVSsbJf03959TCyEyom6MxuVIe/etvaXkk3ouzttpCk0bsMoD8rxs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726139725; c=relaxed/simple; bh=gHD5g46iT9qrbaf0DhM5CxHitR3jq1iw59XRhkGp9QQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=XbZYwsPNl1O6TV+VSkw2/tTrOtXvUl/9S2XbAJSndXOrbKjG5/1OdoN29q0iXFVVYVprVw7QUaDTT+T9EX99DWv5JAPAuaalAOXdUM9hR0+N3I1/rL6hbByN9QfnNSYZjLB6M+iCUUD514eXEQ5nXt72C19IVwqfKq7Oh5gWo6g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Z5YbTiYF; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Z5YbTiYF" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726139723; x=1757675723; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=gHD5g46iT9qrbaf0DhM5CxHitR3jq1iw59XRhkGp9QQ=; b=Z5YbTiYFrDLn7Enlwd9PV6Fv1JDG2MGJ8XVucAsFvB2ibem/riS238Qd XHo9Im1ROol4atn9bsrPIGEK1SG9HEFmylM+cGHAZT0dzgc3kU4rKfXEV Lv1+e1KlDmXc8PrGeuLiqP20ki6fyvu747rQXrezO66MVqN4tJJ/VsPwY hjeCKYmLOUgXe/8etlBsy5wawC/Jue/F0TVyo3UKNVF30gNsoPoOhTIr4 6hT5p+S3kf6sgSXWXTz6pRjbLdRkqt4LBpmC0iigmpm8lF+SBz+dDxtXL 0RzQV/8lNWHRMJ5HGXQSN0QwjJXBhtk7zIm+mAIMHzL+D5kZ45eaxc7BI g==; X-CSE-ConnectionGUID: 8i6jqNTrROq5MrbdzcKJ0A== X-CSE-MsgGUID: 21w6idvjRTW55bvqcS2tvw== X-IronPort-AV: E=McAfee;i="6700,10204,11192"; a="25179657" X-IronPort-AV: E=Sophos;i="6.10,222,1719903600"; d="scan'208";a="25179657" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2024 04:15:22 -0700 X-CSE-ConnectionGUID: zzj36FCaRBONlMqt4IQ9VQ== X-CSE-MsgGUID: 8c/MuCYZQeulXrM/EaEY5A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,222,1719903600"; d="scan'208";a="67916913" Received: from unknown (HELO localhost) ([10.237.66.160]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2024 04:15:19 -0700 From: Jani Nikula To: Marc Gonzalez , Dmitry Baryshkov , Arnaud Vrac Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, Nathan Chancellor , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 7/8] drm/msmi: annotate pll_cmp_to_fdata() with __maybe_unused In-Reply-To: <9028f858-8c6d-4292-a6aa-27eedff3ac8b@freebox.fr> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <3553b1db35665e6ff08592e35eb438a574d1ad65.1725962479.git.jani.nikula@intel.com> <4ag2efwiizn5bnskauekqwfhgl4gioafcvetpvsmbdgg37bdja@3g6tt4rlfwcb> <19ac4e25-7609-4d92-8687-585c6ea00c79@freebox.fr> <878qvyjxpg.fsf@intel.com> <9028f858-8c6d-4292-a6aa-27eedff3ac8b@freebox.fr> Date: Thu, 12 Sep 2024 14:15:17 +0300 Message-ID: <87ed5pgm2i.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, 12 Sep 2024, Marc Gonzalez wrote: > On 11/09/2024 12:23, Jani Nikula wrote: >> On Tue, 10 Sep 2024, Marc Gonzalez wrote: >>> On 10/09/2024 16:51, Dmitry Baryshkov wrote: >>>> On Tue, Sep 10, 2024 at 01:03:43PM GMT, Jani Nikula wrote: >>>>> See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static >>>>> inline functions for W=1 build"). [snip] >> GCC doesn't catch unused static inlines, while Clang does. > > It makes no sense to me that adding "inline" would prevent > GCC from diagnosing the issue... GCC should simply ignore > the "inline" keyword when definition is not in a header file > (maybe they don't store "origin"). Please just read the commit message for the commit I reference above for details. There's not much more I could say about it. BR, Jani. -- Jani Nikula, Intel