diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-01-08 20:12:34 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-01-20 17:13:32 +0200 |
commit | cb70b713a840a6fbdeeb774d1de4be35b0c18418 (patch) | |
tree | 3f99bd086cd0b636cda21dafd42f98d53d6ca970 /crypto | |
parent | 691313ea621482aa3da9721770b2642f789f63e5 (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ä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200108181242.13650-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions