Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1663748pxa; Sun, 23 Aug 2020 11:26:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLE6L83uk/CyHrLWV/XabXXGPS7m1RfFlh9gYio4zl90dm2WAUDxjAe/Egb9R8sE0H6GmU X-Received: by 2002:a17:906:3e1a:: with SMTP id k26mr1547117eji.188.1598207185070; Sun, 23 Aug 2020 11:26:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598207185; cv=none; d=google.com; s=arc-20160816; b=0B53XxesG0izW4/zs7BWeRTocO/PRCVk92r/7cmipQQ/Ej3xXfSG+PdZtN2MWo4O6v bQefqsQJbXCPCVqcNhohSPsDz7THT8yeoxmn7LnJEw4hYu2xKbGQtoN3/+0CujKMiCWa hFdkSG8axI3I08CMnvp4kyRI0gV/Ez6Ple/gPRe7cJN7glkVhRep0blijRXe4A7sq5wE EwsU/3XtfASEFLHB5PvNsmQsatJ4jVRQzRg+iS/TV6xAOQ8A8wL7gxosyio66cTfnBYn 3aCD3hINoGZvW/P3xgJTYK5fXExOUnDg2qDRr4ziDvZnKbSd8UVhlsz4//RGmQDm8cpF FxjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:date:cc:to:from:subject:message-id; bh=UVF+avXza1oyZqWyIYdOWB7InGjUixOD+Y0/FHin/ls=; b=kX8b/2VVbUa7y37lbmqtJOFBfWrI+dsUhyrXsKNkY4IQ4T3Ox6R3tSDrSDNSSrjXpB sjpstfEDafWr4A+FVwGQ+O5HVZ8q9ehPBdtkFxt4HTNX4I23RV6UQzlP/+7iAOTUZtd4 3u35yaSQB3Z+Wtw6nk4+57Dd+wrVnQ2p2onQCbxibRm/dLPI6zB51LUY6jkjmUqCUmwW /IZY7jPzO2uF3oLglirRfE4JDB4GqV8JNeEAojv3ih2DSOAT2LngpHx/71e2iIJfv9Bm piYTBxYH9V4985NV3zB/Q7a5lW+K9JUrHqERSNds+EjZ76kXvMQLUJ1u+XDQdrnHpL7p EVXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si872559eja.203.2020.08.23.11.26.01; Sun, 23 Aug 2020 11:26:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726059AbgHWSNg (ORCPT + 99 others); Sun, 23 Aug 2020 14:13:36 -0400 Received: from smtprelay0245.hostedemail.com ([216.40.44.245]:37118 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725867AbgHWSNg (ORCPT ); Sun, 23 Aug 2020 14:13:36 -0400 Received: from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by smtpgrave01.hostedemail.com (Postfix) with ESMTP id 5721F18014950; Sun, 23 Aug 2020 18:13:34 +0000 (UTC) Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 73430182CED2A; Sun, 23 Aug 2020 18:13:33 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:800:960:967:973:982:988:989:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2560:2563:2682:2685:2828:2859:2900:2904:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3865:3866:3867:3868:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:8985:9025:10004:10400:10848:11026:11232:11473:11657:11658:11914:12043:12297:12438:12555:12760:12895:12986:13069:13161:13229:13311:13357:13439:14096:14097:14181:14659:14721:21080:21627:30054:30075,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: idea45_11162582704c X-Filterd-Recvd-Size: 1957 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf18.hostedemail.com (Postfix) with ESMTPA; Sun, 23 Aug 2020 18:13:32 +0000 (UTC) Message-ID: Subject: [likely PATCH] media: lmedm04: Fix misuse of comma From: Joe Perches To: Malcolm Priestley Cc: LKML , Mauro Carvalho Chehab , linux-media , Julia Lawall Date: Sun, 23 Aug 2020 11:13:31 -0700 Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Joe Perches --- Untested, but really likely to be a defect given the indentation. Found using Julia Lawall's (and my) coccinelle script. https://lore.kernel.org/lkml/alpine.DEB.2.22.394.2008201856110.2524@hadrien/ drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/lmedm04.c b/drivers/media/usb/dvb-usb-v2/lmedm04.c index 8a3c0eeed959..cce431f34f61 100644 --- a/drivers/media/usb/dvb-usb-v2/lmedm04.c +++ b/drivers/media/usb/dvb-usb-v2/lmedm04.c @@ -391,7 +391,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); usb_submit_urb(lme_int->lme_urb, GFP_ATOMIC); info("INT Interrupt Service Started");