Re: [PATCH v1 1/1] iio: core: Split debugfs routines

From: kernel test robot

Date: Tue Nov 24 2026 - 12:57:18 EST


Hi Andy,

kernel test robot noticed the following build warnings:

[auto build test WARNING on jic23-iio/togreg]
[also build test WARNING on linus/master v7.4-rc4 next-20261123]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/iio-core-Split-debugfs-routines/20261124-104410
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link: https://lore.kernel.org/r/20261124094502.557175-1-andriy.shevchenko%40linux.intel.com
patch subject: [PATCH v1 1/1] iio: core: Split debugfs routines
config: arm-s5pv210_defconfig (https://download.01.org/0day-ci/archive/20261125/20261125014709.jzc52smr-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261125/20261125014709.jzc52smr-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/20261125014709.jzc52smr-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from drivers/iio/industrialio-event.c:22:
>> drivers/iio/iio_core.h:30:13: warning: 'iio_device_unregister_debugfs' defined but not used [-Wunused-function]
30 | static void iio_device_unregister_debugfs(struct iio_dev *indio_dev) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/iio/iio_core.h:29:13: warning: 'iio_device_register_debugfs' defined but not used [-Wunused-function]
29 | static void iio_device_register_debugfs(struct iio_dev *indio_dev) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/iio_device_unregister_debugfs +30 drivers/iio/iio_core.h

28
> 29 static void iio_device_register_debugfs(struct iio_dev *indio_dev) {}
> 30 static void iio_device_unregister_debugfs(struct iio_dev *indio_dev) {}
31 #endif /* CONFIG_DEBUG_FS */
32

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