From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E0842D9797 for ; Thu, 7 May 2026 08:05:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778141162; cv=none; b=sHFAPxQwePXUg9Gvm/FDkvBDl5bNbfH3PVmfDte3nkftMBxrbIhIMChjwJ5d91AcT+fFo+VYqFPyEckeS1SRncG5QtxtQtnFZJX1kUczmUBSQsac1KIPtLFVfJLEJssX9Nze5Io2DRicYVdryFCuz+rE9fbzZDUBXi4YfG/Lt48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778141162; c=relaxed/simple; bh=RBP31O4YJ9Rv34PC6sxGbZVnmQ2UltlZv4Jp6qQyrOI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IsHSJjjhEYyTKC4YhE4pDfAlH5d033O4MKzs9HC6MRseq7vjY4+qW930TvdtkvC0wsbAceod98vjJBwARDJknCaEmjAa+klhmZMzwlLPVCrok/gCPb9/BmZMc2RBVd6a0Z3dnphDWmg5QXbZn2MQ6FZ/r4fzaEedtk1g5vtNqw0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=QGxjPHJX; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="QGxjPHJX" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 59BC32A9A; Thu, 7 May 2026 01:05:53 -0700 (PDT) Received: from [10.57.67.110] (unknown [10.57.67.110]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B59583F7B4; Thu, 7 May 2026 01:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1778141158; bh=RBP31O4YJ9Rv34PC6sxGbZVnmQ2UltlZv4Jp6qQyrOI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QGxjPHJXEzWjlCt8db04ZywdJQVyGYOKeyjCCEl1ius59mFoP/LeERg9VhX/Lvp2x vTH4Y74bBx+jlJyeOpyGxJYLzIylER1V1tkjrUvheVF0V2sgoQJJJY/LrHvmRMuCfB 41CztrcBPJhVoMgvO/z44P/I1LSGM0aLmZ7LiIjE= Message-ID: <25be33e3-4c45-444e-b753-40196aa54923@arm.com> Date: Thu, 7 May 2026 09:05:54 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/panthor: Fix missing declaration for panthor_transparent_hugepage To: gyeyoung , Boris Brezillon , Liviu Dudau Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20260503144234.2150138-1-gye976@gmail.com> From: Steven Price Content-Language: en-GB In-Reply-To: <20260503144234.2150138-1-gye976@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 03/05/2026 15:42, gyeyoung wrote: > sparse reports: > drivers/gpu/drm/panthor/panthor_drv.c:1805:6: warning: symbol 'panthor_transparent_hugepage' was not declared. Should it be static? > > Make it clean. > > Signed-off-by: gyeyoung Reviewed-by: Steven Price Thanks, I'll push this to drm-misc-next. Steve > --- > drivers/gpu/drm/panthor/panthor_drv.c | 1 + > drivers/gpu/drm/panthor/panthor_drv.h | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/panthor/panthor_drv.c b/drivers/gpu/drm/panthor/panthor_drv.c > index 66996c9147c2..e8dc4096c1d2 100644 > --- a/drivers/gpu/drm/panthor/panthor_drv.c > +++ b/drivers/gpu/drm/panthor/panthor_drv.c > @@ -31,6 +31,7 @@ > > #include "panthor_devfreq.h" > #include "panthor_device.h" > +#include "panthor_drv.h" > #include "panthor_fw.h" > #include "panthor_gem.h" > #include "panthor_gpu.h" > diff --git a/drivers/gpu/drm/panthor/panthor_drv.h b/drivers/gpu/drm/panthor/panthor_drv.h > index 1bc7ddbad23e..b81f21ed5398 100644 > --- a/drivers/gpu/drm/panthor/panthor_drv.h > +++ b/drivers/gpu/drm/panthor/panthor_drv.h > @@ -4,6 +4,8 @@ > #ifndef __PANTHOR_DRV_H__ > #define __PANTHOR_DRV_H__ > > +#include > + > extern bool panthor_transparent_hugepage; > > #endif