aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-01-30 02:33:41 -0500
committerMauro Carvalho Chehab <[email protected]>2019-02-07 11:49:53 -0500
commitdb9a01b32ca9406394e6e7d19c4cdfcf1cbb5058 (patch)
tree23ad11a1af7ce6780df6d0057811809e34655eab /scripts/gcc-plugins/cyc_complexity_plugin.c
parent801efd0f7522244b5c09fc4c6630dc55fb37c26c (diff)
media: vicodec: check type in g/s_selection
Check that the selection buf_type is valid before calling get_q_data() to avoid hitting the WARN(1) in that function if the buffer type is not valid. Signed-off-by: Hans Verkuil <[email protected]> Reported-by: [email protected] Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions