All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nikhil Gautam <nikhilgtr@gmail.com>, linux-iio@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	jic23@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com,
	andy@kernel.org, Nikhil Gautam <nikhilgtr@gmail.com>
Subject: Re: [PATCH v5] iio: chemical: ccs811: Make sampling frequency configurable
Date: Fri, 6 Nov 2026 02:23:39 +0800	[thread overview]
Message-ID: <202611060115.RlOXqnls-lkp@intel.com> (raw)
In-Reply-To: <20261104151138.9968-1-nikhilgtr@gmail.com>

Hi Nikhil,

kernel test robot noticed the following build errors:

[auto build test ERROR on jic23-iio/togreg]
[also build test ERROR on linus/master v7.3 next-20261105]
[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/Nikhil-Gautam/iio-chemical-ccs811-Make-sampling-frequency-configurable/20261104-204138
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link:    https://lore.kernel.org/r/20261104151138.9968-1-nikhilgtr%40gmail.com
patch subject: [PATCH v5] iio: chemical: ccs811: Make sampling frequency configurable
config: arc-randconfig-1000-20261105 (https://download.01.org/0day-ci/archive/20261106/202611060115.RlOXqnls-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261106/202611060115.RlOXqnls-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/202611060115.RlOXqnls-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/iio/chemical/ccs811.c:18:
   drivers/iio/chemical/ccs811.c: In function 'ccs811_write_raw':
>> include/linux/cleanup.h:298:2: error: a label can only be part of a statement and a declaration is not a statement
     class_##_name##_t var __cleanup(class_##_name##_destructor) = \
     ^~~~~~
   include/linux/cleanup.h:422:34: note: in expansion of macro 'CLASS'
    #define ACQUIRE(_name, _var)     CLASS(_name, _var)
                                     ^~~~~
   include/linux/iio/iio.h:817:2: note: in expansion of macro 'ACQUIRE'
     ACQUIRE(__priv__iio_dev_mode_lock_try_direct, claim)(dev)
     ^~~~~~~
   drivers/iio/chemical/ccs811.c:354:3: note: in expansion of macro 'IIO_DEV_ACQUIRE_DIRECT_MODE'
      IIO_DEV_ACQUIRE_DIRECT_MODE(indio_dev, claim);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +298 include/linux/cleanup.h

54da6a0924311c7 Peter Zijlstra 2023-05-26  293  
2deccd5c862a033 Peter Zijlstra 2026-03-09  294  #define EXTEND_CLASS(_name, ext, _init, _init_args...)			\
2deccd5c862a033 Peter Zijlstra 2026-03-09  295  	EXTEND_CLASS_COND(_name, ext, 0, _init, _init_args)
2deccd5c862a033 Peter Zijlstra 2026-03-09  296  
54da6a0924311c7 Peter Zijlstra 2023-05-26  297  #define CLASS(_name, var)						\
54da6a0924311c7 Peter Zijlstra 2023-05-26 @298  	class_##_name##_t var __cleanup(class_##_name##_destructor) =	\
54da6a0924311c7 Peter Zijlstra 2023-05-26  299  		class_##_name##_constructor
54da6a0924311c7 Peter Zijlstra 2023-05-26  300  

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

  parent reply	other threads:[~2026-11-05 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-04 15:11 [PATCH v5] iio: chemical: ccs811: Make sampling frequency configurable Nikhil Gautam
2026-11-04 21:51 ` Andy Shevchenko
2026-11-05 18:23 ` kernel test robot [this message]
2026-11-05 21:08 ` kernel test robot
2026-11-07 21:01 ` Jonathan Cameron

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=202611060115.RlOXqnls-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikhilgtr@gmail.com \
    --cc=nuno.sa@analog.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.