All of lore.kernel.org
 help / color / mirror / Atom feed
* [tegra-drm:drm/tegra/for-next 9/14] drivers/gpu/drm/tegra/uapi.c:278:5: warning: no previous prototype for 'tegra_drm_ioctl_gem_create'
@ 2021-07-14 21:53 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-14 21:53 UTC (permalink / raw)
  To: Mikko Perttunen; +Cc: kbuild-all, dri-devel, linux-tegra, Thierry Reding

[-- Attachment #1: Type: text/plain, Size: 2176 bytes --]

tree:   git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
head:   b19502d1a683c11f6f2c92ad63c61288b0fbe1a1
commit: cdf631031f3e574b76afed51bda0ccc9d71d4a4e [9/14] drm/tegra: Implement new UAPI
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 cdf631031f3e574b76afed51bda0ccc9d71d4a4e
        # 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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 54468 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tegra-drm:drm/tegra/for-next 9/14] drivers/gpu/drm/tegra/uapi.c:278:5: warning: no previous prototype for 'tegra_drm_ioctl_gem_create'
@ 2021-07-14 21:53 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-14 21:53 UTC (permalink / raw)
  To: Mikko Perttunen; +Cc: linux-tegra, Thierry Reding, kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 2176 bytes --]

tree:   git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
head:   b19502d1a683c11f6f2c92ad63c61288b0fbe1a1
commit: cdf631031f3e574b76afed51bda0ccc9d71d4a4e [9/14] drm/tegra: Implement new UAPI
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 cdf631031f3e574b76afed51bda0ccc9d71d4a4e
        # 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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 54468 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tegra-drm:drm/tegra/for-next 9/14] drivers/gpu/drm/tegra/uapi.c:278:5: warning: no previous prototype for 'tegra_drm_ioctl_gem_create'
@ 2021-07-14 21:53 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-14 21:53 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2230 bytes --]

tree:   git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
head:   b19502d1a683c11f6f2c92ad63c61288b0fbe1a1
commit: cdf631031f3e574b76afed51bda0ccc9d71d4a4e [9/14] drm/tegra: Implement new UAPI
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 cdf631031f3e574b76afed51bda0ccc9d71d4a4e
        # 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@intel.com>

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 54468 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-14 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 21:53 [tegra-drm:drm/tegra/for-next 9/14] drivers/gpu/drm/tegra/uapi.c:278:5: warning: no previous prototype for 'tegra_drm_ioctl_gem_create' kernel test robot
2021-07-14 21:53 ` kernel test robot
2021-07-14 21:53 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.