[tegra-drm:drm/tegra/for-next 1/14] drivers/gpu/host1x/fence.c:168:5: warning: no previous prototype for 'host1x_fence_create_fd'
kernel test robot
lkp at intel.com
Wed Jul 14 19:44:24 UTC 2021
tree: git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
head: b19502d1a683c11f6f2c92ad63c61288b0fbe1a1
commit: ad0529424defbbe0b6a154cc100e82c1a9f91400 [1/14] gpu: host1x: Add DMA fence implementation
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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 tegra-drm git://anongit.freedesktop.org/tegra/linux.git
git fetch --no-tags tegra-drm drm/tegra/for-next
git checkout ad0529424defbbe0b6a154cc100e82c1a9f91400
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/host1x/fence.c:168:5: warning: no previous prototype for 'host1x_fence_create_fd' [-Wmissing-prototypes]
168 | int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/host1x_fence_create_fd +168 drivers/gpu/host1x/fence.c
167
> 168 int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
169 {
170 struct sync_file *file;
171 struct dma_fence *f;
172 int fd;
173
174 f = host1x_fence_create(sp, threshold);
175 if (IS_ERR(f))
176 return PTR_ERR(f);
177
178 fd = get_unused_fd_flags(O_CLOEXEC);
179 if (fd < 0) {
180 dma_fence_put(f);
181 return fd;
182 }
183
184 file = sync_file_create(f);
185 dma_fence_put(f);
186 if (!file)
187 return -ENOMEM;
188
189 fd_install(fd, file->file);
190
191 return fd;
192 }
193 EXPORT_SYMBOL(host1x_fence_create_fd);
194
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 54468 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210715/6e9c89c8/attachment-0001.gz>
More information about the dri-devel
mailing list