Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp484504pxy; Wed, 21 Apr 2021 07:41:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQP4i0M+EyXV4/OdLYoKDdGz0nfsu7y96Xz1cBrTUvdhmPdiVVwDLKqjC6DCp7PBWoRE9K X-Received: by 2002:a63:cb42:: with SMTP id m2mr21808055pgi.140.1619016083176; Wed, 21 Apr 2021 07:41:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619016083; cv=none; d=google.com; s=arc-20160816; b=vyavtxKH0yHdmn8w474R/RCs+jd8AR00E20WMw3gAr9YkiS9Jrh+P3gj82Y1xwyY3j v1plr8Wkf9Zi8jSmiupr86QGUx7+zN9xYY3Ij5mp7GCT6RWob9bMdjVw8oQP2eLEge5z CRTwc09x4lQtV86aYoR5LwBzAzJ7V6SoyhDqvkWUFkBKd9DvpuB2Qc1ne9bFZcfJd2/I RU2mPBfL4qLstofY8LaCKvoqFxqY0oaBEZNMB0Y+SopBaCax8uwBirWcg0b5TZ6jJx3o AhPG/Qae2ROuVJC/BrBTDer1syVgrRtPVb7KErR22NCND9Bog4USFyFWOMH3TBvVlm4m TLyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vp9cL5PPgkwyCHl+Sb3RXil9xzQ0mHyggfYEqsP+MEU=; b=wLNQf++KPakCDec7mzG7iQDxvi00ddmOaAiu6nhd8udDpBNJqRTlgFPTB50EtZpjHU w3ndmxNtfouTm5L0jTDrNgm8FtqxX6QYNgEGt0UmThGdpZ4P2eZlkEUQHzZXd1kHW50g gI5O0wYakGPO0boP6uBTZSJ1J0AaUakncaOt4HOotMA0ZL2eI/lNFO/wVehniB88wa2s rRfb4tN+drnb7RFp/q3cPwjJaoehZz9m0ayg/cXY5RgwMkbtMMufBS4APNXsZSYVeCJH M9efzr3dlg+Mmcfl+HZUnNPiDepQtMiuJqNhUzYjvgaWavYonLIz//vXkCWUoX/HFaX5 UCQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yGlLFN7K; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ot3si2972534pjb.126.2021.04.21.07.41.11; Wed, 21 Apr 2021 07:41:23 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yGlLFN7K; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240085AbhDUNCR (ORCPT + 99 others); Wed, 21 Apr 2021 09:02:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:41408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240094AbhDUNCQ (ORCPT ); Wed, 21 Apr 2021 09:02:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 41415613DC; Wed, 21 Apr 2021 13:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010103; bh=jxckjqkTvkkwJtxmk4r4p7AWwqlkAtuCmy1fi8KOdEQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yGlLFN7KWrckZPyBILOg5eJcO0dVSYrdhUzfLeItTeQRqpqegaHfhLJ/gWDGXhES0 O/6FOyDXZdqhgWYV4NpWy/N8JXldLJtJ1jt61jSX+HSlO8AgMMSo+Lxa3gnrV5b0Cl 3oKABvFsqnmCSXX8xHJkPjBIi5RxEpGypBKMF2+k= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Qiushi Wu , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH 014/190] Revert "media: rcar-vin: Fix a reference count leak." Date: Wed, 21 Apr 2021 14:58:09 +0200 Message-Id: <20210421130105.1226686-15-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210421130105.1226686-1-gregkh@linuxfoundation.org> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit aaffa0126a111d65f4028c503c76192d4cc93277. Commits from @umn.edu addresses have been found to be submitted in "bad faith" to try to test the kernel community's ability to review "known malicious" changes. The result of these submissions can be found in a paper published at the 42nd IEEE Symposium on Security and Privacy entitled, "Open Source Insecurity: Stealthily Introducing Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University of Minnesota) and Kangjie Lu (University of Minnesota). Because of this, all submissions from this group must be reverted from the kernel tree and will need to be re-reviewed again to determine if they actually are a valid fix. Until that work is complete, remove this change to ensure that no problems are being introduced into the codebase. Cc: Qiushi Wu Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/media/platform/rcar-vin/rcar-dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/platform/rcar-vin/rcar-dma.c b/drivers/media/platform/rcar-vin/rcar-dma.c index f30dafbdf61c..e109b3d0f4d1 100644 --- a/drivers/media/platform/rcar-vin/rcar-dma.c +++ b/drivers/media/platform/rcar-vin/rcar-dma.c @@ -1459,10 +1459,8 @@ int rvin_set_channel_routing(struct rvin_dev *vin, u8 chsel) int ret; ret = pm_runtime_get_sync(vin->dev); - if (ret < 0) { - pm_runtime_put_noidle(vin->dev); + if (ret < 0) return ret; - } /* Make register writes take effect immediately. */ vnmc = rvin_read(vin, VNMC_REG); -- 2.31.1