[linux-next:master 1134/2932] drivers/gpu/drm/tegra/uapi.c:278:5: warning: no previous prototype for 'tegra_drm_ioctl_gem_create'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mikko,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   7468cbf5c917ec48c66b0dd157b306f36345cab8
commit: cdf631031f3e574b76afed51bda0ccc9d71d4a4e [1134/2932] drm/tegra: Implement new UAPI
config: arm-randconfig-r014-20210722 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cdf631031f3e574b76afed51bda0ccc9d71d4a4e
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout cdf631031f3e574b76afed51bda0ccc9d71d4a4e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/tegra/uapi.c:278:5: warning: no previous prototype for 'tegra_drm_ioctl_gem_create' [-Wmissing-prototypes]
     278 | int tegra_drm_ioctl_gem_create(struct drm_device *drm, void *data,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/tegra/uapi.c:295:5: warning: no previous prototype for 'tegra_drm_ioctl_gem_mmap' [-Wmissing-prototypes]
     295 | int tegra_drm_ioctl_gem_mmap(struct drm_device *drm, void *data,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/tegra_drm_ioctl_gem_create +278 drivers/gpu/drm/tegra/uapi.c

   277	
 > 278	int tegra_drm_ioctl_gem_create(struct drm_device *drm, void *data,
   279				       struct drm_file *file)
   280	{
   281		struct drm_tegra_gem_create *args = data;
   282		struct tegra_bo *bo;
   283	
   284		if (args->flags)
   285			return -EINVAL;
   286	
   287		bo = tegra_bo_create_with_handle(file, drm, args->size, args->flags,
   288						 &args->handle);
   289		if (IS_ERR(bo))
   290			return PTR_ERR(bo);
   291	
   292		return 0;
   293	}
   294	
 > 295	int tegra_drm_ioctl_gem_mmap(struct drm_device *drm, void *data,

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux