[PATCH 3/3] drm/i915: be more paranoid with the flink name refcounting

2012-07-23 Thread Daniel Vetter
We should _never_ call handle_unref without having a name handle. Doing so would be a bug, so yell around about if this happens with a loud WARN_ON. Signed-Off-by: Daniel Vetter --- include/drm/drmP.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drmP.h b/inc

[PATCH 3/3] drm/i915: be more paranoid with the flink name refcounting

2012-07-23 Thread Daniel Vetter
We should _never_ call handle_unref without having a name handle. Doing so would be a bug, so yell around about if this happens with a loud WARN_ON. Signed-Off-by: Daniel Vetter --- include/drm/drmP.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drmP.h b/inc