linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: oe-kbuild-all@lists.linux.dev, linux-acpi@vger.kernel.org,
	devel@acpica.org, linux-pm@vger.kernel.org
Subject: [rafael-pm:bleeding-edge 1/5] include/linux/thermal.h:378:1: error: expected identifier or '(' before '{' token
Date: Wed, 6 Sep 2023 03:29:59 +0800	[thread overview]
Message-ID: <202309060309.BgHDEFgR-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   3013f879e8da5a4cf707cdb0dfa927f89b9374cd
commit: 6c106aa9e0f7f8be4146c50bea5cd71052bebe3a [1/5] thermal: core: Clean up headers of thermal zone registration functions
config: arc-randconfig-001-20230906 (https://download.01.org/0day-ci/archive/20230906/202309060309.BgHDEFgR-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230906/202309060309.BgHDEFgR-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/202309060309.BgHDEFgR-lkp@intel.com/

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

   In file included from drivers/hwmon/emc2305.c:13:
>> include/linux/thermal.h:378:1: error: expected identifier or '(' before '{' token
     378 | { return ERR_PTR(-ENODEV); }
         | ^
>> include/linux/thermal.h:370:43: warning: 'thermal_zone_device_register_with_trips' declared 'static' but never defined [-Wunused-function]
     370 | static inline struct thermal_zone_device *thermal_zone_device_register_with_trips(
         |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +378 include/linux/thermal.h

   369	
 > 370	static inline struct thermal_zone_device *thermal_zone_device_register_with_trips(
   371						const char *type,
   372						struct thermal_trip *trips,
   373						int num_trips, int mask,
   374						void *devdata,
   375						struct thermal_zone_device_ops *ops,
   376						const struct thermal_zone_params *tzp,
   377						int passive_delay, int polling_delay);
 > 378	{ return ERR_PTR(-ENODEV); }
   379	

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

             reply	other threads:[~2023-09-05 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05 19:29 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-05 19:29 [rafael-pm:bleeding-edge 1/5] include/linux/thermal.h:378:1: error: expected identifier or '(' before '{' token kernel test robot

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=202309060309.BgHDEFgR-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devel@acpica.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rjw@rjwysocki.net \
    /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;
as well as URLs for NNTP newsgroup(s).