aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorBenjamin Gaignard <[email protected]>2023-11-09 17:34:31 +0100
committerMauro Carvalho Chehab <[email protected]>2023-11-23 12:06:22 +0100
commit73aea586d6c58f55799f6130e19321ff7b574c3d (patch)
treeb454a4e08b4376d9ed7a46e8e0fd09579a192bd4 /tools/perf/scripts/python/netdev-times.py
parent7bce685bc017295e96aa3ad5edcf3906208685f3 (diff)
media: visl: Use vb2_get_buffer() instead of directly access to buffers array
Use vb2_get_buffer() instead of direct access to the vb2_queue bufs array. This allows us to change the type of the bufs in the future. After each call to vb2_get_buffer() we need to be sure that we get a valid pointer so check the return value of all of them. Signed-off-by: Benjamin Gaignard <[email protected]> Reviewed-by: Andrzej Pietrasiewicz <[email protected]> CC: Daniel Almeida <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions