Skip to contentSkip to conversation

drivers/gpu/drm/imagination/pvr_fw_trace.c:205:37: warning: 'pvr_fw_trace_group_mask_fops' defined but not used

PATCH kernel test robot 1 participant 1 message Nov 30, 2023 Memory management

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
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/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

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

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