Linux IIO development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>,
	linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Rupesh Majhi" <zoone.rupert@gmail.com>
Subject: Re: [PATCH v1 1/1] iio: core: Split debugfs routines
Date: Wed, 25 Nov 2026 00:29:22 +0800	[thread overview]
Message-ID: <20261125002412.n7KFlU4e-lkp@intel.com> (raw)
In-Reply-To: <20261124094502.557175-1-andriy.shevchenko@linux.intel.com>

Hi Andy,

kernel test robot noticed the following build errors:

[auto build test ERROR on jic23-iio/togreg]
[also build test ERROR 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: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261125/20261125002412.n7KFlU4e-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261125/20261125002412.n7KFlU4e-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261125002412.n7KFlU4e-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> drivers/iio/industrialio-debugfs.c:138:13: error: static declaration of 'iio_device_unregister_debugfs' follows non-static declaration
     138 | static void iio_device_unregister_debugfs(struct iio_dev *indio_dev)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/iio/industrialio-debugfs.c:20:
   drivers/iio/iio_core.h:23:6: note: previous declaration of 'iio_device_unregister_debugfs' with type 'void(struct iio_dev *)'
      23 | void iio_device_unregister_debugfs(struct iio_dev *indio_dev);
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/iio/industrialio-debugfs.c:145:13: error: static declaration of 'iio_device_register_debugfs' follows non-static declaration
     145 | static void iio_device_register_debugfs(struct iio_dev *indio_dev)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/iio_core.h:24:6: note: previous declaration of 'iio_device_register_debugfs' with type 'void(struct iio_dev *)'
      24 | void iio_device_register_debugfs(struct iio_dev *indio_dev);
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/iio/industrialio-debugfs.c:145:13: warning: 'iio_device_register_debugfs' defined but not used [-Wunused-function]
     145 | static void iio_device_register_debugfs(struct iio_dev *indio_dev)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/iio/industrialio-debugfs.c:138:13: warning: 'iio_device_unregister_debugfs' defined but not used [-Wunused-function]
     138 | static void iio_device_unregister_debugfs(struct iio_dev *indio_dev)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/iio_device_unregister_debugfs +138 drivers/iio/industrialio-debugfs.c

   137	
 > 138	static void iio_device_unregister_debugfs(struct iio_dev *indio_dev)
   139	{
   140		struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev);
   141	
   142		debugfs_remove_recursive(iio_dev_opaque->debugfs_dentry);
   143	}
   144	
 > 145	static void iio_device_register_debugfs(struct iio_dev *indio_dev)

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

      parent reply	other threads:[~2026-11-24 16:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  9:44 [PATCH v1 1/1] iio: core: Split debugfs routines Andy Shevchenko
2026-11-24 10:17 ` Joshua Crofts
2026-11-24 10:46   ` Andy Shevchenko
2026-11-24 10:51     ` Joshua Crofts
2026-11-24 11:04       ` Andy Shevchenko
2026-11-24 10:51     ` Andy Shevchenko
2026-11-24 10:55       ` Joshua Crofts
2026-11-24 11:07         ` Andy Shevchenko
2026-11-24 11:26 ` Nuno Sá
2026-11-24 16:29 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261125002412.n7KFlU4e-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=dlechner@baylibre.com \
    --cc=jonathan.cameron@oss.qualcomm.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=zoone.rupert@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox