From patchwork Thu Nov 29 22:29:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 10705453 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61DFE13AD for ; Thu, 29 Nov 2018 22:29:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 481B92FA63 for ; Thu, 29 Nov 2018 22:29:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 393852FAFF; Thu, 29 Nov 2018 22:29:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 168012FA63 for ; Thu, 29 Nov 2018 22:29:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726746AbeK3Jgh (ORCPT ); Fri, 30 Nov 2018 04:36:37 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:37228 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726374AbeK3Jgh (ORCPT ); Fri, 30 Nov 2018 04:36:37 -0500 Received: by mail-wm1-f67.google.com with SMTP id g67so3828712wmd.2 for ; Thu, 29 Nov 2018 14:29:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=2jaO7J7OVdfqoPqWDRK0vWXXJl9TJ6EhStRTTW6R35Y=; b=P3zDXHylUnfPlBK5KQQMSUlR3HiofxlNNrnw/fEL1IGok5e5y7/A9TpQvlRxNcGzSc x4WGs4URYQBd1JU12o3Fgo0jYjDY3qUg2URQuo6xPiIa9sVLr+IPV9nnEf09cNMi5Lxa Z6pPimIZvo45hIvb4xfPDTlGqwhchejNraPD1clypkwtyif+iQV2l++mLebSHpUrfwAp 4aXFdfksQY11ipvZeZyIiyccTHb6Av6zCO26wKQKHBje4Jk7TEv4xKj5+3baYReUYepq TIZmJz39m7njdPTJBvj/TZMJsbu9woc3fGcjVi67mQmOQ244yIftTCVDbXsiX3KeSVQc BYqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=2jaO7J7OVdfqoPqWDRK0vWXXJl9TJ6EhStRTTW6R35Y=; b=T53gVCYUxOvY/Dgn+IfcTBBReByLRRNkEU7IfRTsW1fUUajudITFseWNrpVotZGRFr Xy4CV3HOKEjDRbq1L/dhYoCtFWbQiwobf1buw/l258bu2kezwDbrKypZKGbeE4eGLK6D 8TYyDMQBtGTx33sLZ68fMNT6jS+fLLbBmRyIpCfCe3POB9uNb2ExsAb7WIrYvJVTbn1E YKknVFBeKNAauizgS7ZCEQ0NI+T4XDs1TtoboyoBYIzrQPlzr+bswwXa7DE4uhcdqVRi zuU9mywhufiFJ9ZsNkkCOesCdupCiwQ+H3c5SjbaG8pQS54yncJ5J7rE7l88rMJu3XIs t/Pg== X-Gm-Message-State: AA+aEWb5or0SN2Vz86Gh8D6fZqzehs/Ki8UlkpkINP/MGIjm9NZnk8J4 GbgubRqBcDYL65MQRoIIcyuxi1ep X-Google-Smtp-Source: AFSGD/Vw+JROxJl08mkXFeP8QId7tE3Wc6tdiZGxy9a9aLBd36o1hp+4JWV5DjN1cuxdNO0bqmIK7A== X-Received: by 2002:a1c:1b86:: with SMTP id b128mr3187493wmb.30.1543530573809; Thu, 29 Nov 2018 14:29:33 -0800 (PST) Received: from [192.168.43.227] (92.40.249.58.threembb.co.uk. [92.40.249.58]) by smtp.gmail.com with ESMTPSA id j199sm7529434wmf.13.2018.11.29.14.29.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 14:29:33 -0800 (PST) From: Malcolm Priestley Subject: [PATCH 1/4] media: lmedm04: Add missing usb_free_urb to free, interrupt urb To: Linux Media Mailing List Message-ID: Date: Thu, 29 Nov 2018 22:29:31 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Language: en-US Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The interrupt urb is killed but never freed add the function Cc: stable@vger.kernel.org Signed-off-by: Malcolm Priestley --- drivers/media/usb/dvb-usb-v2/lmedm04.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/dvb-usb-v2/lmedm04.c b/drivers/media/usb/dvb-usb-v2/lmedm04.c index f109c04f05ae..8b405e131439 100644 --- a/drivers/media/usb/dvb-usb-v2/lmedm04.c +++ b/drivers/media/usb/dvb-usb-v2/lmedm04.c @@ -1264,6 +1264,7 @@ static void *lme2510_exit_int(struct dvb_usb_device *d) if (st->lme_urb != NULL) { usb_kill_urb(st->lme_urb); + usb_free_urb(st->lme_urb); usb_free_coherent(d->udev, 128, st->buffer, st->lme_urb->transfer_dma); info("Interrupt Service Stopped");