public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH] cxl/core/region_dax.c: fix missing assignment in cxl_dax_region_alloc()
       [not found] <20260411011137.43545-1-anisa.su@samsung.com>
@ 2026-04-17 20:35 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-17 20:35 UTC (permalink / raw)
  To: Anisa Su, dave.jiang, gourry
  Cc: llvm, oe-kbuild-all, dave, jonathan.cameron, alison.schofield,
	ira.weiny, linux-cxl, Anisa Su

Hi Anisa,

kernel test robot noticed the following build errors:

[auto build test ERROR on cxl/next]
[also build test ERROR on next-20260416]
[cannot apply to linus/master cxl/pending v7.0]
[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/Anisa-Su/cxl-core-region_dax-c-fix-missing-assignment-in-cxl_dax_region_alloc/20260417-104320
base:   https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git next
patch link:    https://lore.kernel.org/r/20260411011137.43545-1-anisa.su%40samsung.com
patch subject: [PATCH] cxl/core/region_dax.c: fix missing assignment in cxl_dax_region_alloc()
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20260418/202604180424.a2VTSNB7-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260418/202604180424.a2VTSNB7-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/202604180424.a2VTSNB7-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/cxl/core/region_dax.c:65:8: error: no member named 'cxlr_dax' in 'struct cxl_region'
      65 |         cxlr->cxlr_dax = cxlr_dax;
         |         ~~~~  ^
   1 error generated.


vim +65 drivers/cxl/core/region_dax.c

    45	
    46	static struct cxl_dax_region *cxl_dax_region_alloc(struct cxl_region *cxlr)
    47	{
    48		struct cxl_region_params *p = &cxlr->params;
    49		struct cxl_dax_region *cxlr_dax;
    50		struct device *dev;
    51	
    52		guard(rwsem_read)(&cxl_rwsem.region);
    53		if (p->state != CXL_CONFIG_COMMIT)
    54			return ERR_PTR(-ENXIO);
    55	
    56		cxlr_dax = kzalloc_obj(*cxlr_dax);
    57		if (!cxlr_dax)
    58			return ERR_PTR(-ENOMEM);
    59	
    60		cxlr_dax->hpa_range.start = p->res->start;
    61		cxlr_dax->hpa_range.end = p->res->end;
    62	
    63		dev = &cxlr_dax->dev;
    64		cxlr_dax->cxlr = cxlr;
  > 65		cxlr->cxlr_dax = cxlr_dax;
    66		device_initialize(dev);
    67		lockdep_set_class(&dev->mutex, &cxl_dax_region_key);
    68		device_set_pm_not_required(dev);
    69		dev->parent = &cxlr->dev;
    70		dev->bus = &cxl_bus_type;
    71		dev->type = &cxl_dax_region_type;
    72	
    73		return cxlr_dax;
    74	}
    75	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-17 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260411011137.43545-1-anisa.su@samsung.com>
2026-04-17 20:35 ` [PATCH] cxl/core/region_dax.c: fix missing assignment in cxl_dax_region_alloc() kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox