diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-01-27 17:34:51 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-01-31 15:31:58 +0200 |
commit | 8f2e045ec878ef77aa2b2650f40fdb7d01b831af (patch) | |
tree | 4130f7f7431ec299cb329ae120542c0dddb44c32 /kernel/watchdog_hld.c | |
parent | cbef9099398cbc45c4245b413ec73737ed88eb83 (diff) | |
download | talos-obmc-linux-8f2e045ec878ef77aa2b2650f40fdb7d01b831af.tar.gz talos-obmc-linux-8f2e045ec878ef77aa2b2650f40fdb7d01b831af.zip |
drm/color: un-inline drm_color_lut_extract()
The function is not that big, but it's also not used for anything
performance critical. Make it a normal function.
As a side effect, this apparently makes sparse smarter about what it's
doing, and gets rid of the warning:
./include/drm/drm_color_mgmt.h:53:28: warning: shift too big (4294967295) for type unsigned long
./include/drm/drm_color_mgmt.h:53:28: warning: cast truncates bits from constant value (8000000000000000 becomes 0)
v2: rebased
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1485531291-24821-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'kernel/watchdog_hld.c')
0 files changed, 0 insertions, 0 deletions