aboutsummaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2022-12-20 23:56:44 +0100
committerLaurent Pinchart <[email protected]>2023-01-15 23:45:10 +0200
commitadfd3910c27fbc0959ae5f1dafaec563f7d0bdd2 (patch)
tree5481736eba5f65952bf84dfcbbdc6e0496d0bcdc /tools/perf
parent0ce75d5ecd9edaa027c0c2a7df0edcdf59ea7738 (diff)
media: uvcvideo: Remove void casting for the status endpoint
Make the code more resilient, by replacing the castings with proper structure definitions and using offsetof() instead of open coding the location of the data. Suggested-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Ricardo Ribalda <[email protected]> Reviewed-by: Andrzej Pietrasiewicz <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions