Re: [PATCH 6/8] drm/panthor: Introduce huge tmpfs mount point option
From: kernel test robot
Date: Tue Sep 30 2025 - 06:37:01 EST
Hi Loïc,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[cannot apply to akpm-mm/mm-everything linus/master v6.17 next-20250929]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Lo-c-Molinari/drm-shmem-helper-Add-huge-page-fault-handler/20250930-040600
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link: https://lore.kernel.org/r/20250929200316.18417-7-loic.molinari%40collabora.com
patch subject: [PATCH 6/8] drm/panthor: Introduce huge tmpfs mount point option
config: i386-buildonly-randconfig-004-20250930 (https://download.01.org/0day-ci/archive/20250930/202509301834.aoEcLO0C-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250930/202509301834.aoEcLO0C-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509301834.aoEcLO0C-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/gpu/drm/panthor/panthor_gem.c: In function 'panthor_gem_init':
>> drivers/gpu/drm/panthor/panthor_gem.c:24:14: error: 'panthor_transparent_hugepage' undeclared (first use in this function); did you mean 'has_transparent_hugepage'?
24 | if (!panthor_transparent_hugepage)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| has_transparent_hugepage
drivers/gpu/drm/panthor/panthor_gem.c:24:14: note: each undeclared identifier is reported only once for each function it appears in
vim +24 drivers/gpu/drm/panthor/panthor_gem.c
19
20 void panthor_gem_init(struct panthor_device *ptdev)
21 {
22 struct vfsmount *huge_mnt;
23
> 24 if (!panthor_transparent_hugepage)
25 return;
26
27 huge_mnt = drm_gem_shmem_huge_mnt_create("within_size");
28 if (IS_ERR(huge_mnt)) {
29 drm_warn(&ptdev->base, "Can't use Transparent Hugepage (%ld)\n",
30 PTR_ERR(huge_mnt));
31 return;
32 }
33
34 ptdev->huge_mnt = huge_mnt;
35
36 drm_info(&ptdev->base, "Using Transparent Hugepage\n");
37 }
38
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki