diff options
author | Laura Abbott <[email protected]> | 2018-04-10 18:03:30 -0700 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2018-05-23 10:45:22 +0200 |
commit | ca510ead96d78c5379db5d36ffbdf5382f36db6d (patch) | |
tree | 97470aae150f28d536a2c7e29e6f82a72fbe570f /tools/perf/scripts/python | |
parent | 520ea9347505f5eb90a6162385cf821e80b6c233 (diff) |
drm/i2c: tda998x: Remove VLA usage
There's an ongoing effort to remove VLAs[1] from the kernel to eventually
turn on -Wvla. The vla in reg_write_range is based on the length of data
passed. The one use of a non-constant size for this range is bounded by
the size buffer passed to hdmi_infoframe_pack which is a fixed size.
Switch to this upper bound.
[1] https://lkml.org/lkml/2018/3/7/621
Signed-off-by: Laura Abbott <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions