tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: d2945e83762685e27b20286924d8e59daa10233f
commit: 79b0a1f26446bb3026f29a6cc0cf40d82112ca85 [9987/9999] CHROMIUM: gpu: mali: Apply
Valhall r32p0 EAC release
config: arm64-allyesconfig
(
https://download.01.org/0day-ci/archive/20220118/202201181459.lvZ4jovR-lk...)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout 79b0a1f26446bb3026f29a6cc0cf40d82112ca85
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=arm64 SHELL=/bin/bash drivers/gpu/arm/valhall/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
cc1: warning: kbuild/src/consumer/drivers/gpu/arm/valhall: No such file or directory
[-Wmissing-include-dirs]
drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c: In function
'kbase_jd_debugfs_fence_info':
> drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c:78:46: warning:
format '%u' expects argument of type 'unsigned int', but argument 4 has
type 'u64' {aka 'long long unsigned int'} [-Wformat=]
78 |
"Sd(%llu#%u: %s) ",
| ~^
| |
| unsigned int
| %llu
79 | #endif
80 | fence->context, fence->seqno,
| ~~~~~~~~~~~~
| |
| u64 {aka long long
unsigned int}
drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c:97:46: warning: format '%u'
expects argument of type 'unsigned int', but argument 4 has type 'u64'
{aka 'long long unsigned int'} [-Wformat=]
97 | "Wd(%llu#%u: %s) ",
| ~^
| |
| unsigned int
| %llu
98 | #endif
99 | fence->context, fence->seqno,
| ~~~~~~~~~~~~
| |
| u64 {aka long long
unsigned int}
vim +78 drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c
73
74 seq_printf(sfile,
75 #if (KERNEL_VERSION(4, 8, 0) > LINUX_VERSION_CODE)
76 "Sd(%u#%u: %s) ",
77 #else
78 "Sd(%llu#%u: %s) ",
79 #endif
80 fence->context, fence->seqno,
81 dma_fence_is_signaled(fence) ? "signaled" :
82 "active");
83 }
84
85 list_for_each_entry(cb, &atom->dma_fence.callbacks,
86 node) {
87 #if (KERNEL_VERSION(4, 10, 0) > LINUX_VERSION_CODE)
88 struct fence *fence = cb->fence;
89 #else
90 struct dma_fence *fence = cb->fence;
91 #endif
92
93 seq_printf(sfile,
94 #if (KERNEL_VERSION(4, 8, 0) > LINUX_VERSION_CODE)
95 "Wd(%u#%u: %s) ",
96 #else
97 "Wd(%llu#%u: %s) ",
98 #endif
99 fence->context, fence->seqno,
100 dma_fence_is_signaled(fence) ? "signaled" :
101 "active");
102 }
103 }
104 #endif /* CONFIG_MALI_VALHALL_DMA_FENCE */
105
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org