Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3787041ybi; Mon, 29 Jul 2019 12:36:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaLOD5/6BLEvffrqy20brhoEL1Yl0tCKylNxovKYVbRhmgVMan/eMuWn6eh2fyvB0S+pE3 X-Received: by 2002:a17:90a:1b4c:: with SMTP id q70mr110351603pjq.69.1564429001807; Mon, 29 Jul 2019 12:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564429001; cv=none; d=google.com; s=arc-20160816; b=yHcX5/vAnVqcquhoz+RvVnnYIYxFxjFHuUQLfhWMMvQkxcbfucSUSyiO2qXlDQDC1m erhQBA7zruP2wPG0DtiIlzsh4B6CIe6pjD3PDWOH29zfCwvpDbLB+/FwYwrNsw5oov6H 4F0Sn+VQh10MxzXTW2iY3zgutpsyH1wz9wNhJR5k9CTqEqGWYTEKHbVHRfXj1P3eHzit 64GmiusE8gIPbNnH4qqufqR+yrDrkgydjrUiDiRbfatcLg4DcCzttWRKE1iLcabCfog7 Y0tRsZtGPerG2X1uNAK0v5cIpjissvrXFzQmsQqbparfIll86JbkX//vnkdvdA7aAVxc 6kJw== 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=T8zP55P4BOLNY9Wz1ytAWvo2fBR1RhcNEaA6P6XMQUI=; b=ejEtX9olEeRDBHoacSXIrbtOyn2Hcbx4xDrXndqO9jwF5oaH1/cuSVapcQ1jaLp3Hi 2cs8mcnIGkI2oIQCkNcU9phavilz05meaS+zKkpzgIBi/q6A5wjrpmTpUj26hYikzutZ WATVM+cA6yylGAhlR5KxkAxjcS/jL+gGTD7NtvRTZoEmZqoZe7e76JmpKJQtxhsTI6hU GS6B82tQCquajnb9oHk5CDFtNzt6BkIaHlbb2I4nmijhunfAdHRvpLUu+xuBPOQ9yQHs Phkw6V8MI/eidnTjF2nJ9Gp5E5DwJMkMb4gyuIGEPxJe9fqFv2BEk0RI6oVmRREYDytX 3aSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kbG8wIch; 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 j62si27650334pgd.170.2019.07.29.12.36.27; Mon, 29 Jul 2019 12:36:41 -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=kbG8wIch; 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 S1729907AbfG2Td2 (ORCPT + 99 others); Mon, 29 Jul 2019 15:33:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:47528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730342AbfG2TdY (ORCPT ); Mon, 29 Jul 2019 15:33:24 -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 5B787217D4; Mon, 29 Jul 2019 19:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564428803; bh=aHqgQJKP03ZM+yob4oeTuv5fUdGLTHzvHiuLjfYAErc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kbG8wIchETwt1spsQ3w3MjkZ36ZB8KsozrOE1urUD5/7sGKBX2cXXmPJin+P1xVLt S1gCk1AluWYECVoMhTE1gcGWqLObP0RCFA8S1Z14t1LSOpovnABBU5FZodoUpp5bVM +wzFD/xugVe1r6+SpYE8d++O3tRrsyr4Y8uKpRMQ= 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.14 142/293] media: coda: Remove unbalanced and unneeded mutex unlock Date: Mon, 29 Jul 2019 21:20:33 +0200 Message-Id: <20190729190835.422548498@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190820.321094988@linuxfoundation.org> References: <20190729190820.321094988@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 @@ -2257,7 +2257,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; }