Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9980780ybi; Wed, 24 Jul 2019 13:28:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXQxb8f+dP8Ty/0dG/UVhoRFzeRHNW3agf5uaPQdx4Sqv3kAGyZZi6zvrD6C4LBD/QMTXH X-Received: by 2002:a65:51c1:: with SMTP id i1mr61728542pgq.417.1564000113167; Wed, 24 Jul 2019 13:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564000113; cv=none; d=google.com; s=arc-20160816; b=suU9eKv9KHGgQ0S6E3LbK+14C1lttagC67laYiuZ6Ohe5sSf79pggbi28O/JLaWiHB qZoa8AqvsyDF9gXHk6fz8Y3vb7ibrHavriZA3UypcQNyuRTcLR+H6dIgAjTVMBeo9Uuv cxItHdxVMKdHiHwS5pvlOqXKqN5N1p89JpYoCMqmsyaG+WTSBgOE+rTRfSCJhqosrZEl HLDSuKpfWEUSX5L6afv2+d/lV5018fLA6LzibPtWkZl8A0k2Yxu4S5TjMmwg5h+RO8PI GhSAbVAoWBWs6XOSNycgmvyiaPOAOBCzT1A+XFNb6q3J+Y6jWOijb2fEvAFTAmE6NxHs y9wA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=m/XtmymymGF38tkwx3n24B/wgCVUYtRE7/49PR/J+jo=; b=s2udOIq7lUlmx60JGXBVjFaiPgU8bJs6MXROHte6HIBe71b8ZKsat+Bd/qeUIxC7uL AOYzoQTGztymY8q2r28RD/EaLWlATetLe9ee9tbnmYus3qqlOx82wiXUGhaIda1MkbGc dCA2NDI6t5GzD6Fl/aHsc9sp+cvfzbBD2M8DRN1AAMg8d2lIuYeceqPTu38swgjskbY7 j90DhH6oo9n3/PmJzunAUPu3mIgG0XGGBBh6zK7wOmDXKZm/XbQmQqtqQ/MtOBJ4xBZL RywKDAOJQ03ofSt4ZKiQwsCrzemL0DZ++VQx700kbfaAPkhMXtezbJkFasqNCKsPWBr9 dPhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="KH7pH/1e"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x185si17712657pfx.243.2019.07.24.13.28.18; Wed, 24 Jul 2019 13:28:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="KH7pH/1e"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390374AbfGXUZ4 (ORCPT + 99 others); Wed, 24 Jul 2019 16:25:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:39076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389739AbfGXTi2 (ORCPT ); Wed, 24 Jul 2019 15:38:28 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3030E229F4; Wed, 24 Jul 2019 19:38:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563997107; bh=rS0zYdFdtQ7G+JZz57Aeqv6qwSj0FtXQQ8hJ4e/VJ98=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KH7pH/1egggLJGR3EJO7cqFy4LQcLzM4RGaoc201tiNcnQ+ZX4Z2a5/Sgj0RwTKv3 h3NJNVgErSzpNzyoCABPyJZXodpDfHxDMuK3NvF/nSs9KtcP29d0TerJcNFvE2o7ry g8pcT4vFZQPlvU/rvQkSdym8+fxdhQbywbc8fXmw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Philipp Zabel , Ezequiel Garcia , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH 5.2 323/413] media: coda: Remove unbalanced and unneeded mutex unlock Date: Wed, 24 Jul 2019 21:20:14 +0200 Message-Id: <20190724191758.984113359@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191735.096702571@linuxfoundation.org> References: <20190724191735.096702571@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ezequiel Garcia commit 766b9b168f6c75c350dd87c3e0bc6a9b322f0013 upstream. The mutex unlock in the threaded interrupt handler is not paired with any mutex lock. Remove it. This bug has been here for a really long time, so it applies to any stable repo. Reviewed-by: Philipp Zabel Signed-off-by: Ezequiel Garcia Signed-off-by: Hans Verkuil Cc: stable@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/media/platform/coda/coda-bit.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/media/platform/coda/coda-bit.c +++ b/drivers/media/platform/coda/coda-bit.c @@ -2310,7 +2310,6 @@ irqreturn_t coda_irq_handler(int irq, vo if (ctx == NULL) { v4l2_err(&dev->v4l2_dev, "Instance released before the end of transaction\n"); - mutex_unlock(&dev->coda_mutex); return IRQ_HANDLED; }