summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2017-01-23 11:42:59 +0200
committerJani Nikula <jani.nikula@intel.com>2017-01-27 12:33:30 +0200
commit2eebe4f2d5f4c91edc37801d828ba29edfbc7722 (patch)
tree57d00740515f502c406b762c0b1ece13b57754ef /tools/perf/scripts/python/net_dropmonitor.py
parentbc384c77e3bb3df2b396f4fb246b452571896c5e (diff)
downloadkernel-2eebe4f2d5f4c91edc37801d828ba29edfbc7722.tar.gz
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) 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/1485164579-16250-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions