All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: ACPI: Add stub for acpi_has_method() for !CONFIG_ACPI
Date: Mon, 5 Oct 2026 07:32:26 +0200	[thread overview]
Message-ID: <202610050754.HpDCeeIT-lkp@intel.com> (raw)
In-Reply-To: <202610050754.HpDCeeIT-lkp@intel.com>

Hi Bowen,

kernel test robot noticed the following build errors:



url:    https://github.com/intel-lab-lkp/linux/commits/Bowen-Yu/ACPI-Add-stub-for-acpi_has_method-for-CONFIG_ACPI/20260929-201347
base:   
patch link:    https://lore.kernel.org/r/202610050754.HpDCeeIT-lkp%40intel.com
config: microblaze-randconfig-r2200-20261005 (https://download.01.org/0day-ci/archive/20261005/202610050754.HpDCeeIT-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 9.5.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261005/202610050754.HpDCeeIT-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/202610050754.HpDCeeIT-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from init/main.c:31:
>> include/linux/acpi.h:1033:20: error: redefinition of 'acpi_has_method'
    1033 | static inline bool acpi_has_method(acpi_handle handle, char *name)
         |                    ^~~~~~~~~~~~~~~
   In file included from include/linux/acpi.h:28,
                    from init/main.c:31:
   include/acpi/acpi_bus.h:957:20: note: previous definition of 'acpi_has_method' was here
     957 | static inline bool acpi_has_method(acpi_handle handle, char *name)
         |                    ^~~~~~~~~~~~~~~


vim +/acpi_has_method +1033 include/linux/acpi.h

  1032	
> 1033	static inline bool acpi_has_method(acpi_handle handle, char *name)
  1034	{
  1035		return false;
  1036	}
  1037	

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

       reply	other threads:[~2026-10-05  5:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-05  5:32 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-10-05  9:43 ACPI: Add stub for acpi_has_method() for !CONFIG_ACPI kernel test robot
2026-10-05 15:11 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=202610050754.HpDCeeIT-lkp@intel.com \
    --to=lkp@intel.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.