| commit | 7ebb1ecafd8f38b18a1d66cbeb76bf3cf5a967b7 | [log] [tgz] |
|---|---|---|
| author | Ricardo Ribalda <ribalda@chromium.org> | Mon May 01 16:41:08 2023 +0200 |
| committer | Ricardo Ribalda <ribalda@chromium.org> | Mon May 01 16:41:08 2023 +0200 |
| tree | 7827b049bc41e6baac48b141b9df7daf5b5ffaae | |
| parent | c7af5e673b65863bc1c6702b584c3f7ac532cbdd [diff] |
media: uvcvideo: Explicit alignment of uvc_frame and uvc_format Struct uvc_frame and uvc_format are packaged together on streaming->formats on a sigle allocation. This is working fine because both structures have a field with a pointer, but it will stop working when the sizeof() of any of those structs is not a muliple of the sizeof(void*). Make that aligment contract explicit. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>