diff options
| author | Ricardo Ribalda <[email protected]> | 2022-12-20 23:56:44 +0100 |
|---|---|---|
| committer | Laurent Pinchart <[email protected]> | 2023-01-15 23:45:10 +0200 |
| commit | adfd3910c27fbc0959ae5f1dafaec563f7d0bdd2 (patch) | |
| tree | 5481736eba5f65952bf84dfcbbdc6e0496d0bcdc /tools/perf/scripts/python/task-analyzer.py | |
| parent | 0ce75d5ecd9edaa027c0c2a7df0edcdf59ea7738 (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/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions