All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] annotate i915_gem_object_trylock() as __must_check
@ 2024-12-19 10:16 Rolf Eike Beer
  2024-12-19 10:16 ` [PATCH 1/2] drm/i915/selftests: check the return value of i915_gem_object_trylock() Rolf Eike Beer
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Rolf Eike Beer @ 2024-12-19 10:16 UTC (permalink / raw)
  To: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin
  Cc: intel-gfx, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

A while ago I did an attempt to convert some *_trylock*() functions to 
__must_check annotation. I have refreshed that and the only new compile error 
I found was in i915/gt/selftest_migrate.c.

Here is what I have come up with as a solution for this. I have not observed 
any actual error about this, so you may prefer an entirely different way.

Regards,

Eike
-- 
Rolf Eike Beer

emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
http://www.emlix.com

emlix - your embedded Linux partner

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]

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

end of thread, other threads:[~2024-12-19 17:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-19 10:16 [PATCH 0/2] annotate i915_gem_object_trylock() as __must_check Rolf Eike Beer
2024-12-19 10:16 ` [PATCH 1/2] drm/i915/selftests: check the return value of i915_gem_object_trylock() Rolf Eike Beer
2024-12-19 10:18 ` [PATCH 2/2] drm/i915: mark i915_gem_object_trylock() as __must_check Rolf Eike Beer
2024-12-19 17:10 ` ✗ Fi.CI.CHECKPATCH: warning for annotate " Patchwork
2024-12-19 17:10 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-12-19 17:19 ` ✗ i915.CI.BAT: failure " 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.