]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reattach comment, complete type specification
authorDave Gordon <david.s.gordon@intel.com>
Fri, 19 Aug 2016 14:23:42 +0000 (15:23 +0100)
committerJani Nikula <jani.nikula@intel.com>
Mon, 22 Aug 2016 13:05:46 +0000 (16:05 +0300)
commita2be6752cf37c6a282fa6dfd6f5cfd64af7fe898
tree54ecf0cd0f8b1e3789cb5c7245a4bd8720b823e2
parent8dd4b62b762e6f9ba6b07e8883d8bbe753ba2fff
drm/i915: Reattach comment, complete type specification

In the recent patch
709301b drm/i915: Allow userspace to request no-error-capture upon ...
the final version moved the flags and the associated #defines around
so they were adjacent; unfortunately, they ended up between a comment
and the thing (hw_id) to which the comment applies :(

So this patch reshuffles the comment and subject back together.

Also, as we're touching 'hw_id', let's change it from just 'unsigned'
to a fully-specified 'unsigned int', because some code checking tools
(including checkpatch) object to plain 'unsigned'.

Fixes: 709301bec976 ("drm/i915: Allow userspace to request no-error-capture...")
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1471616622-6919-1-git-send-email-david.s.gordon@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 0be81156b3fb4d4e8e2c94177e5222dc21c3ff10)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h