All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dave Jiang <dave.jiang@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 2/4] acpi/hmat / cxl: Add extended linear cache support for CXL
Date: Thu, 5 Dec 2024 09:33:57 +0800	[thread overview]
Message-ID: <202412050940.jAddHkxV-lkp@intel.com> (raw)
In-Reply-To: <20241204224827.2097263-3-dave.jiang@intel.com>

Hi Dave,

kernel test robot noticed the following build errors:

[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on rafael-pm/bleeding-edge cxl/next driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus tip/x86/mm linus/master cxl/pending v6.13-rc1 next-20241204]
[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/Dave-Jiang/acpi-numa-Add-support-to-enumerate-and-store-extended-linear-address-mode/20241205-064921
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link:    https://lore.kernel.org/r/20241204224827.2097263-3-dave.jiang%40intel.com
patch subject: [PATCH 2/4] acpi/hmat / cxl: Add extended linear cache support for CXL
config: i386-buildonly-randconfig-004 (https://download.01.org/0day-ci/archive/20241205/202412050940.jAddHkxV-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241205/202412050940.jAddHkxV-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/202412050940.jAddHkxV-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from kernel/sysctl.c:54:
>> include/linux/acpi.h:1105:19: error: redefinition of 'hmat_get_extended_linear_cache_size'
    1105 | static inline int hmat_get_extended_linear_cache_size(struct resource *backing_res,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/acpi.h:448:19: note: previous definition of 'hmat_get_extended_linear_cache_size' with type 'int(struct resource *, int,  resource_size_t *)' {aka 'int(struct resource *, int,  unsigned int *)'}
     448 | static inline int hmat_get_extended_linear_cache_size(struct resource *backing_res,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/hmat_get_extended_linear_cache_size +1105 include/linux/acpi.h

  1100	
  1101	#ifdef CONFIG_ACPI_HMAT
  1102	int hmat_get_extended_linear_cache_size(struct resource *backing_res, int nid,
  1103						resource_size_t *size);
  1104	#else
> 1105	static inline int hmat_get_extended_linear_cache_size(struct resource *backing_res,
  1106							      int nid, resource_size_t *size)
  1107	{
  1108		return -EOPNOTSUPP;
  1109	}
  1110	#endif
  1111	

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

  reply	other threads:[~2024-12-05  1:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-04 22:46 [PATCH 0/4] acpi/hmat / cxl: Add exclusive caching enumeration and RAS support Dave Jiang
2024-12-04 22:46 ` [PATCH 1/4] acpi: numa: Add support to enumerate and store extended linear address mode Dave Jiang
2024-12-04 22:46 ` [PATCH 2/4] acpi/hmat / cxl: Add extended linear cache support for CXL Dave Jiang
2024-12-05  1:33   ` kernel test robot [this message]
2024-12-09  8:32   ` Li Ming
2024-12-09 16:24     ` Dave Jiang
2024-12-24 12:05   ` Jonathan Cameron
2025-01-07 17:24     ` Dave Jiang
2024-12-04 22:46 ` [PATCH 3/4] cxl: Add extended linear cache address alias emission for cxl events Dave Jiang
2024-12-24 12:11   ` Jonathan Cameron
2025-01-07 19:41     ` Dave Jiang
2025-01-10 14:59       ` Jonathan Cameron
2024-12-04 22:46 ` [PATCH 4/4] cxl: Add mce notifier to emit aliased address for extended linear cache Dave Jiang
2024-12-24 12:18   ` 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=202412050940.jAddHkxV-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dave.jiang@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.