[linux-next:master 2075/4102] drivers/gpu/drm/imagination/pvr_fw_trace.c:205:37: warning: 'pvr_fw_trace_group_mask_fops' defined but not used

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3cd3fe06ff81cfb3a969acb12a56796cff5af23d
commit: cb56cd61086645e46cc54d1837de803b1c471df6 [2075/4102] drm/imagination: Add firmware trace to debugfs
config: arm64-randconfig-r051-20231130 (https://download.01.org/0day-ci/archive/20231130/202311302054.MVYPxFCE-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/202311302054.MVYPxFCE-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/202311302054.MVYPxFCE-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/imagination/pvr_fw_trace.c:205:37: warning: 'pvr_fw_trace_group_mask_fops' defined but not used [-Wunused-const-variable=]
     205 | static const struct file_operations pvr_fw_trace_group_mask_fops = {
         |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/pvr_fw_trace_group_mask_fops +205 drivers/gpu/drm/imagination/pvr_fw_trace.c

   204	
 > 205	static const struct file_operations pvr_fw_trace_group_mask_fops = {
   206		.owner = THIS_MODULE,
   207		.open = fw_trace_group_mask_open,
   208		.read = seq_read,
   209		.write = fw_trace_group_mask_write,
   210		.llseek = default_llseek,
   211		.release = single_release,
   212	};
   213	

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




[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