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: x86_64-buildonly-randconfig-006-20250615 (https://download.01.org/0day-ci/archive/20250615/202506151407.6kH54qkk-lkp@xxxxxxxxx/config) compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/202506151407.6kH54qkk-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/202506151407.6kH54qkk-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> block/blk-mq-debugfs.c:524:8: error: initializing 'void *' with an expression of type 'const void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 524 | void *data = debugfs_get_aux(m->file); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ block/blk-mq-debugfs.c:534:8: error: initializing 'void *' with an expression of type 'const void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 534 | void *data = debugfs_get_aux(file); | ^ ~~~~~~~~~~~~~~~~~~~~~ block/blk-mq-debugfs.c:549:8: error: initializing 'void *' with an expression of type 'const void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 549 | void *data = debugfs_get_aux(file); | ^ ~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. vim +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