Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: replace kmem_cache_create() with KMEM_CACHE()
@ 2025-06-11  5:48 Salah Triki
  2025-06-13 14:01 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
  0 siblings, 1 reply; 2+ messages in thread
From: Salah Triki @ 2025-06-11  5:48 UTC (permalink / raw)
  To: Lucas De Marchi, Thomas Hellström, Rodrigo Vivi,
	David Airlie, Simona Vetter, intel-xe, dri-devel, linux-kernel
  Cc: salah.triki

Use KMEM_CACHE() instead of kmem_cache_create() to simplify the creation
of SLAB cache.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
---
 drivers/gpu/drm/xe/xe_hw_fence.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_hw_fence.c b/drivers/gpu/drm/xe/xe_hw_fence.c
index 0b4f12be3692..b54f758a905e 100644
--- a/drivers/gpu/drm/xe/xe_hw_fence.c
+++ b/drivers/gpu/drm/xe/xe_hw_fence.c
@@ -20,9 +20,8 @@ static struct kmem_cache *xe_hw_fence_slab;
 
 int __init xe_hw_fence_module_init(void)
 {
-	xe_hw_fence_slab = kmem_cache_create("xe_hw_fence",
-					     sizeof(struct xe_hw_fence), 0,
-					     SLAB_HWCACHE_ALIGN, NULL);
+	xe_hw_fence_slab = KMEM_CACHE(xe_hw_fence, SLAB_HWCACHE_ALIGN);
+
 	if (!xe_hw_fence_slab)
 		return -ENOMEM;
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* ✗ LGCI.VerificationFailed: failure for drm/xe: replace kmem_cache_create() with KMEM_CACHE()
  2025-06-11  5:48 [PATCH] drm/xe: replace kmem_cache_create() with KMEM_CACHE() Salah Triki
@ 2025-06-13 14:01 ` Patchwork
  0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2025-06-13 14:01 UTC (permalink / raw)
  To: Salah Triki; +Cc: intel-xe

== Series Details ==

Series: drm/xe: replace kmem_cache_create() with KMEM_CACHE()
URL   : https://patchwork.freedesktop.org/series/150231/
State : failure

== Summary ==

Address 'salah.triki@gmail.com' is not on the allowlist, which prevents CI from being triggered for this patch.
If you want Intel GFX CI to accept this address, please contact the script maintainers at i915-ci-infra@lists.freedesktop.org.
Exception occurred during validation, bailing out!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-13 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-11  5:48 [PATCH] drm/xe: replace kmem_cache_create() with KMEM_CACHE() Salah Triki
2025-06-13 14:01 ` ✗ LGCI.VerificationFailed: failure for " Patchwork

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