mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sidhartha Kumar <sidhartha.kumar@oracle.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch,
	willy@infradead.org, sidhartha.kumar@oracle.com
Subject: Re: [PATCH 1/6] drm: Convert aux_idr to XArray
Date: Tue, 19 Aug 2025 18:35:21 +0800	[thread overview]
Message-ID: <202508191844.VZB7euYb-lkp@intel.com> (raw)
In-Reply-To: <20250818190046.157962-2-sidhartha.kumar@oracle.com>

Hi Sidhartha,

kernel test robot noticed the following build errors:

[auto build test ERROR on v6.16]
[also build test ERROR on next-20250819]
[cannot apply to drm-exynos/exynos-drm-next linus/master v6.17-rc2 v6.17-rc1]
[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/Sidhartha-Kumar/drm-Convert-aux_idr-to-XArray/20250819-031755
base:   v6.16
patch link:    https://lore.kernel.org/r/20250818190046.157962-2-sidhartha.kumar%40oracle.com
patch subject: [PATCH 1/6] drm: Convert aux_idr to XArray
config: x86_64-buildonly-randconfig-002-20250819 (https://download.01.org/0day-ci/archive/20250819/202508191844.VZB7euYb-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250819/202508191844.VZB7euYb-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/202508191844.VZB7euYb-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/display/drm_dp_aux_dev.c:85:5: error: passing 'struct xa_limit' to parameter of incompatible type 'void *'
      85 |                                 XA_LIMIT(0, DRM_AUX_MINORS - 1), aux_dev, GFP_KERNEL);
         |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/xarray.h:248:30: note: expanded from macro 'XA_LIMIT'
     248 | #define XA_LIMIT(_min, _max) (struct xa_limit) { .min = _min, .max = _max }
         |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/xarray.h:872:9: note: passing argument to parameter 'entry' here
     872 |                 void *entry, struct xa_limit limit, gfp_t gfp)
         |                       ^
   1 error generated.


vim +85 drivers/gpu/drm/display/drm_dp_aux_dev.c

    71	
    72	static struct drm_dp_aux_dev *alloc_drm_dp_aux_dev(struct drm_dp_aux *aux)
    73	{
    74		struct drm_dp_aux_dev *aux_dev;
    75		int err;
    76	
    77		aux_dev = kzalloc(sizeof(*aux_dev), GFP_KERNEL);
    78		if (!aux_dev)
    79			return ERR_PTR(-ENOMEM);
    80		aux_dev->aux = aux;
    81		atomic_set(&aux_dev->usecount, 1);
    82		kref_init(&aux_dev->refcount);
    83	
    84		err = xa_alloc(&aux_xa, &aux_dev->index,
  > 85					XA_LIMIT(0, DRM_AUX_MINORS - 1), aux_dev, GFP_KERNEL);
    86		if (err < 0) {
    87			kfree(aux_dev);
    88			return ERR_PTR(err);
    89		}
    90	
    91		return aux_dev;
    92	}
    93	

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

  reply	other threads:[~2025-08-19 10:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-18 19:00 [PATCH 0/6] DRM IDR to Xarray conversions Sidhartha Kumar
2025-08-18 19:00 ` [PATCH 1/6] drm: Convert aux_idr to XArray Sidhartha Kumar
2025-08-19 10:35   ` kernel test robot [this message]
2025-08-18 19:00 ` [PATCH 2/6] drm: Convert object_name_idr " Sidhartha Kumar
2025-08-18 19:00 ` [PATCH 3/6] drm: Convert syncobj_idr " Sidhartha Kumar
2025-08-18 19:00 ` [PATCH 4/6] drm: Convert magic_map " Sidhartha Kumar
2025-08-18 19:00 ` [PATCH 5/6] drm: Convert lessee_idr " Sidhartha Kumar
2025-08-18 19:00 ` [PATCH 6/6] drm: Convert tile_idr " Sidhartha Kumar

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=202508191844.VZB7euYb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sidhartha.kumar@oracle.com \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    --cc=willy@infradead.org \
    /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

all inboxes | Powered by JetHome®