Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1008031ybi; Fri, 2 Aug 2019 07:53:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWgHZ5yo/sHYJrsMxCLVpMI6GoeaCNdwFKoGhBouumtj4i/EPB8C1nyZf3P96+NTyvNl5Y X-Received: by 2002:a63:f118:: with SMTP id f24mr127510589pgi.322.1564757610677; Fri, 02 Aug 2019 07:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564757610; cv=none; d=google.com; s=arc-20160816; b=YN07ooSo2yr5Pi9rH1LgN7Xw5BtWcBEW3NWRCTUYj0HJUBnETjhCSdMZNkCqsOzrZq yKNtTJgqwVnVHjxoyZL7prMBPLyit61s0peIGae4qXZnxhNt85DFML9HUpkDh2B9RTO6 ajqFz6Lq7kCojVOdwYQjI3yP3W6Adukb4Ia/9aTE5KZTgzzhYHyaPkOeG22MyVFsDQVQ OWDmO9+KKG2CK3KTnmsEDD0WexUeHxM4mUJfSfHKiFVsuIgO77AOMnDA7OG/b8TSepfU bi3ZVUvatu8kkiGMNQPLrTu48yc1nnGjPjxEub4Qh895sBJYFdKJzbF29HGriRnl4e+g mihA== 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=2yyP2VcqoqBMqXLFT/FcxHd8TzNX5dcnnJv/qcoVm6I=; b=hnHUpVRIyqWk7+M5rTj5rE9w7+95l/tC4RbSx7nZCC5QjORtqBkPBoRQFdD15gsMXQ 1sZ8IGfrzp+cAjY8wvYF30uEUYDkv0RWD6tdzbiobcTonX145M3YOQt/6q2xltxL/3++ 8XAAxODbA7W1AFwo9mMr3BKUKk2BAnsYr+6uo+WXHnWfe+kUfNZATqePVwZLhUwTHJ3R CYlu0Iwwk8HBMDPoQVeg7XUQ8zrZa+AeLF9XXNunix6Qr979R/F+f1am8BB4DzFfNgtz e9yUSbZk0As4Y0e7uNlU19LH/yLzmGpoY4D17VhXdcQpdtCR/1Qy5+594SDaGnc/I49a FCWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hzVckPf4; 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 i8si932658pfr.97.2019.08.02.07.53.15; Fri, 02 Aug 2019 07:53:30 -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=hzVckPf4; 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 S2391207AbfHBJcW (ORCPT + 99 others); Fri, 2 Aug 2019 05:32:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:59152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391191AbfHBJcT (ORCPT ); Fri, 2 Aug 2019 05:32:19 -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 63060217D6; Fri, 2 Aug 2019 09:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564738338; bh=ZgwQnHW9qbACH2wauFG8EO9BfA2QDmU0QRpAI0NIdI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hzVckPf4igC2g5380phc6p4UAtU0UZ33nSwsqRvnXE1XW+6kecSWNJGjBiULp7ZT+ WXjdixzPBI5uccgf+SgsFEy4ItkVQ1w+6fkj1zWWqvSOQCz11E5ZF4IQSyv5vslsUg bmvPa9Z8LJyety1m0EPFfFJptpKrZl23utVInvfA= 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 4.4 065/158] media: coda: Remove unbalanced and unneeded mutex unlock Date: Fri, 2 Aug 2019 11:28:06 +0200 Message-Id: <20190802092217.291610771@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190802092203.671944552@linuxfoundation.org> References: <20190802092203.671944552@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 @@ -2107,7 +2107,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; }