提交 fd5f262d 编写于 作者: T Tvrtko Ursulin

drm/i915/selftests: Fix active retire callback alignment

__i915_active_call annotation is required on the retire callback to ensure
correct function alignment.
Signed-off-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210429083530.849546-2-tvrtko.ursulin@linux.intel.comReviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
上级 d8e44e4d
......@@ -63,7 +63,7 @@ static void pulse_put(struct pulse *p)
kref_put(&p->kref, pulse_free);
}
static void pulse_retire(struct i915_active *active)
__i915_active_call static void pulse_retire(struct i915_active *active)
{
pulse_put(container_of(active, struct pulse, active));
}
......
......@@ -51,7 +51,7 @@ static int __live_active(struct i915_active *base)
return 0;
}
static void __live_retire(struct i915_active *base)
__i915_active_call static void __live_retire(struct i915_active *base)
{
struct live_active *active = container_of(base, typeof(*active), base);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册