All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: i915: gt: replace __ATTR() with __ATTR_RO()
@ 2025-04-27 19:30 Salah Triki
  2025-04-28 16:45 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
  0 siblings, 1 reply; 2+ messages in thread
From: Salah Triki @ 2025-04-27 19:30 UTC (permalink / raw)
  To: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
	David Airlie, Simona Vetter, intel-gfx, dri-devel, linux-kernel
  Cc: salah.triki

Replace __ATTR() with __ATTR_RO() to make code cleaner.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
---
 drivers/gpu/drm/i915/gt/sysfs_engines.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/sysfs_engines.c b/drivers/gpu/drm/i915/gt/sysfs_engines.c
index aab2759067d2..f6149167de05 100644
--- a/drivers/gpu/drm/i915/gt/sysfs_engines.c
+++ b/drivers/gpu/drm/i915/gt/sysfs_engines.c
@@ -27,8 +27,7 @@ name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
 	return sysfs_emit(buf, "%s\n", kobj_to_engine(kobj)->name);
 }
 
-static const struct kobj_attribute name_attr =
-__ATTR(name, 0444, name_show, NULL);
+static const struct kobj_attribute name_attr = __ATTR_RO(name);
 
 static ssize_t
 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
-- 
2.43.0


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

* ✗ LGCI.VerificationFailed: failure for drm: i915: gt: replace __ATTR() with __ATTR_RO()
  2025-04-27 19:30 [PATCH] drm: i915: gt: replace __ATTR() with __ATTR_RO() Salah Triki
@ 2025-04-28 16:45 ` Patchwork
  0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2025-04-28 16:45 UTC (permalink / raw)
  To: Salah Triki; +Cc: intel-gfx

== Series Details ==

Series: drm: i915: gt: replace __ATTR() with __ATTR_RO()
URL   : https://patchwork.freedesktop.org/series/148363/
State : failure

== Summary ==

Address 'salah.triki@gmail.com' is not on the allowlist!
Exception occurred during validation, bailing out!



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

end of thread, other threads:[~2025-04-28 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-27 19:30 [PATCH] drm: i915: gt: replace __ATTR() with __ATTR_RO() Salah Triki
2025-04-28 16:45 ` ✗ LGCI.VerificationFailed: failure for " Patchwork

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.