]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clean up integer types in color code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 3 Mar 2020 17:33:10 +0000 (19:33 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Mar 2020 20:09:06 +0000 (22:09 +0200)
commit05d631c4f65ecde49dd982e1b40dfac043132239
treed5b4c5c84a41d95b2be9f31c6d2740de2ffb0ade
parentef83beb526f082017ab1e89696c90c9eb4789c1d
drm/i915: Clean up integer types in color code

A variable called 'i' having an unsigned type is just looking for
trouble, and using a sized type generally makes no sense either.
Change all of them to just plain old int. And do the same for some
'lut_size' variables which generally provide the loop end codition
for 'i'.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200303173313.28117-7-ville.syrjala@linux.intel.com
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
drivers/gpu/drm/i915/display/intel_color.c