aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2020-01-08 20:12:34 +0200
committerVille Syrjälä <[email protected]>2020-01-20 17:13:32 +0200
commitcb70b713a840a6fbdeeb774d1de4be35b0c18418 (patch)
tree3f99bd086cd0b636cda21dafd42f98d53d6ca970 /tools/perf/scripts/python/net_dropmonitor.py
parent691313ea621482aa3da9721770b2642f789f63e5 (diff)
drm/i915/sdvo: Reduce the size of the on stack buffers
The strings we want to print to the on stack buffers should be no more than 8 * 3 + strlen("(GET_SCALED_HDTV_RESOLUTION_SUPPORT)") + 1 = 61 bytes. So let's shrink the buffers down to 64 bytes. Also switch the BUG_ON()s to WARN_ON()s if I made a mistake in my arithmentic. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions