]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: lmedm04: Fix misuse of comma
authorJoe Perches <joe@perches.com>
Sun, 23 Aug 2020 18:13:31 +0000 (20:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Mar 2021 15:44:17 +0000 (16:44 +0100)
[ Upstream commit 59a3e78f8cc33901fe39035c1ab681374bba95ad ]

There's a comma used instead of a semicolon that causes multiple
statements to be executed after an if instead of just the intended
single statement.

Replace the comma with a semicolon.

Fixes: 15e1ce33182d ("[media] lmedm04: Fix usb_submit_urb BOGUS urb xfer, pipe 1 != type 3 in interrupt urb")
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/usb/dvb-usb-v2/lmedm04.c

index 09c97847bf959c6bb44eb3fa96031943b78b0560..b586a23ab5887e524255ea3bb8399905913f7697 100644 (file)
@@ -445,7 +445,7 @@ static int lme2510_int_read(struct dvb_usb_adapter *adap)
        ep = usb_pipe_endpoint(d->udev, lme_int->lme_urb->pipe);
 
        if (usb_endpoint_type(&ep->desc) == USB_ENDPOINT_XFER_BULK)
-               lme_int->lme_urb->pipe = usb_rcvbulkpipe(d->udev, 0xa),
+               lme_int->lme_urb->pipe = usb_rcvbulkpipe(d->udev, 0xa);
 
        lme_int->lme_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;