diff options
author | Ricardo Ribalda <[email protected]> | 2024-04-15 12:48:13 +0000 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-04-16 00:02:53 +0200 |
commit | 836e2548524d2dfcb5acaf3be78f203b6b4bde6f (patch) | |
tree | 0d6aa33e5b28d875693fd98831c5b655931167ac /drivers/gpu/drm/virtio/virtgpu_gem.c | |
parent | c3224f4147cc4159f2a47fe2162ee9b23bb09ed2 (diff) |
media: usb: siano: Fix allocation of urbs
USB urbs must be allocated with usb_alloc_urb. Quoting the manual
Only use this function (usb_init_urb) if you _really_ understand what you
are doing.
Fix the following smatch error:
drivers/media/usb/siano/smsusb.c:53:38: warning: array of flexible structures
Signed-off-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_gem.c')
0 files changed, 0 insertions, 0 deletions