Messages in this thread | | | Date | Thu, 29 Dec 2022 11:46:05 +0900 | From | Sergey Senozhatsky <> | Subject | Re: [PATCH v4] media: uvcvideo: Remove void casting for the status endpoint |
| |
On (22/12/20 23:56), Ricardo Ribalda wrote: > Make the code more resiliant, by replacing the castings with proper > structure definitions and using offsetof() instead of open coding the > location of the data. > > Suggested-by: Sergey Senozhatsky <senozhatsky@chromium.org> > Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
| |