tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.debugfs head: dadb85bad8e5007cbd0e52309e3a8d8e2d125544 commit: dadb85bad8e5007cbd0e52309e3a8d8e2d125544 [9/9] blk-mq-debugfs: use debugfs_aux_data() config: i386-buildonly-randconfig-003-20250615 (https://download.01.org/0day-ci/archive/20250615/202506151309.YyHBG85s-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/202506151309.YyHBG85s-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/202506151309.YyHBG85s-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): block/blk-mq-debugfs.c: In function 'blk_mq_debugfs_show': >> block/blk-mq-debugfs.c:524:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 524 | void *data = debugfs_get_aux(m->file); | ^~~~~~~~~~~~~~~ block/blk-mq-debugfs.c: In function 'blk_mq_debugfs_write': block/blk-mq-debugfs.c:534:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 534 | void *data = debugfs_get_aux(file); | ^~~~~~~~~~~~~~~ block/blk-mq-debugfs.c: In function 'blk_mq_debugfs_open': block/blk-mq-debugfs.c:549:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 549 | void *data = debugfs_get_aux(file); | ^~~~~~~~~~~~~~~ vim +/const +524 block/blk-mq-debugfs.c 520 521 static int blk_mq_debugfs_show(struct seq_file *m, void *v) 522 { 523 const struct blk_mq_debugfs_attr *attr = m->private; > 524 void *data = debugfs_get_aux(m->file); 525 526 return attr->show(data, m); 527 } 528 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki