Skip to content

annotate i915_gem_object_trylock() as __must_check

Rolf Eike Beer intel-gfx lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/selftests: check the return value of i915_gem_object_trylock()drivers/gpu/drm/i915/gt/selftest_migrate.c+4 -10 replies
2/2drm/i915: mark i915_gem_object_trylock() as __must_checkdrivers/gpu/drm/i915/gem/i915_gem_object.h+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] annotate i915_gem_object_trylock() as __must_check

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

Signature · 13 lines
Rolf Eike Beer

emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail [email protected]
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