[drm-misc:drm-misc-next 3/3] drivers/gpu/drm/tegra/dc.c:1757:59: error: too many arguments to function call, expected 3, have 4

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

 



tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head:   38df905b642688c1bd4ea7c644f6852a00ab38c6
commit: 8e455145d8f163aefa6b9cc29478e0a9f82276e6 [3/3] drm/debugfs: rework drm_debugfs_create_files implementation v2
config: i386-buildonly-randconfig-004-20230903 (https://download.01.org/0day-ci/archive/20230903/202309030330.vlG5kwoZ-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230903/202309030330.vlG5kwoZ-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/202309030330.vlG5kwoZ-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/tegra/dc.c:1757:59: error: too many arguments to function call, expected 3, have 4
           drm_debugfs_remove_files(dc->debugfs_files, count, root, minor);
           ~~~~~~~~~~~~~~~~~~~~~~~~                                 ^~~~~
   include/drm/drm_debugfs.h:162:19: note: 'drm_debugfs_remove_files' declared here
   static inline int drm_debugfs_remove_files(const struct drm_info_list *files,
                     ^
   1 error generated.
--
>> drivers/gpu/drm/tegra/hdmi.c:1120:32: error: too many arguments to function call, expected 3, have 4
                                    connector->debugfs_entry, minor);
                                                              ^~~~~
   include/drm/drm_debugfs.h:162:19: note: 'drm_debugfs_remove_files' declared here
   static inline int drm_debugfs_remove_files(const struct drm_info_list *files,
                     ^
   1 error generated.
--
>> drivers/gpu/drm/tegra/dsi.c:260:6: error: too many arguments to function call, expected 3, have 4
                                    connector->dev->primary);
                                    ^~~~~~~~~~~~~~~~~~~~~~~
   include/drm/drm_debugfs.h:162:19: note: 'drm_debugfs_remove_files' declared here
   static inline int drm_debugfs_remove_files(const struct drm_info_list *files,
                     ^
   1 error generated.
--
>> drivers/gpu/drm/tegra/sor.c:1712:6: error: too many arguments to function call, expected 3, have 4
                                    connector->dev->primary);
                                    ^~~~~~~~~~~~~~~~~~~~~~~
   include/drm/drm_debugfs.h:162:19: note: 'drm_debugfs_remove_files' declared here
   static inline int drm_debugfs_remove_files(const struct drm_info_list *files,
                     ^
   1 error generated.


vim +1757 drivers/gpu/drm/tegra/dc.c

  1756	
> 1757		drm_debugfs_remove_files(dc->debugfs_files, count, root, minor);
  1758		kfree(dc->debugfs_files);
  1759		dc->debugfs_files = NULL;
  1760	}
  1761	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux