aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorBenjamin Gaignard <[email protected]>2023-11-09 17:34:34 +0100
committerMauro Carvalho Chehab <[email protected]>2023-11-23 12:09:43 +0100
commit7dc866df40127dceac9ba83ae16c0c11e7d1666f (patch)
tree6a4e31af3cc57cd9c0bb44a76b6f38dc93ea355d /tools/perf/scripts/python/netdev-times.py
parent53963fb12fd43176dff4b33d937fb7575b0bf4fb (diff)
media: dvb-core: 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]> 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