[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<DU2PR10MB778691F8B6921A75531B08C6E18FA@DU2PR10MB7786.EURPRD10.PROD.OUTLOOK.COM>
Date: Wed, 14 Jan 2026 12:17:42 +0000
From: Itay Chamiel <itay.chamiel@...i>
To: Ricardo Ribalda <ribalda@...omium.org>, Laurent Pinchart
<laurent.pinchart@...asonboard.com>, Hans de Goede <hansg@...nel.org>, Mauro
Carvalho Chehab <mchehab@...nel.org>, Johannes Berg
<johannes@...solutions.net>
CC: Laurent Pinchart <laurent.pinchart@...net.be>,
"linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/3] media: uvcvideo: Fix allocation for small frame sizes
The patchset looks great. For me it required a tiny bit of backporting because I'm running Ubuntu 24.04 and editing the version of the kernel that's running on my machine (6.8.0-90.91), and uvc_alloc_urb_buffer() looks a little different there. No issue though and my tests run fine; first I tested small and large frame sizes with my custom camera, and then I also verified that standard webcams didn't break.
For the whole series:
Tested-by: Itay Chamiel <itay.chamiel@...i>
________________________________________
From: Ricardo Ribalda <ribalda@...omium.org>
Sent: Wednesday, January 14, 2026 12:32 PM
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>; Hans de Goede <hansg@...nel.org>; Mauro Carvalho Chehab <mchehab@...nel.org>; Johannes Berg <johannes@...solutions.net>
Cc: Laurent Pinchart <laurent.pinchart@...net.be>; linux-media@...r.kernel.org <linux-media@...r.kernel.org>; linux-kernel@...r.kernel.org <linux-kernel@...r.kernel.org>; Ricardo Ribalda <ribalda@...omium.org>; Itay Chamiel <itay.chamiel@...i>
Subject: [PATCH 0/3] media: uvcvideo: Fix allocation for small frame sizes
This set fixes a bug in uvc_alloc_urb_buffers() and two more style
patches.
The first patch was Reported by Itay, who asked if I could prepare and
send the patch on his behalf.
Signed-off-by: Ricardo Ribalda <ribalda@...omium.org>
---
Ricardo Ribalda (3):
media: uvcvideo: Fix allocation for small frame sizes
media: uvcvideo: Pass allocation size directly to uvc_alloc_urb_buffer
media: uvcvideo: use min() for npacket calculation
drivers/media/usb/uvc/uvc_video.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
---
base-commit: 17526c7e69d07395e9d39794aacba42dcb02ff49
change-id: 20260114-uvc-alloc-urb-d1a0c617106a
Best regards,
--
Ricardo Ribalda <ribalda@...omium.org>
Powered by blists - more mailing lists