Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp491292pxy; Wed, 21 Apr 2021 07:50:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5kuTf3cznFTnFe00v7cIEyhYpPpOc1t9QMO7eAr0XfGyUtVi3WTMc1TyCarAgHxpsxmJx X-Received: by 2002:a62:1608:0:b029:25a:1e4c:cdab with SMTP id 8-20020a6216080000b029025a1e4ccdabmr24798433pfw.33.1619016646894; Wed, 21 Apr 2021 07:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619016646; cv=none; d=google.com; s=arc-20160816; b=rr+xnWxCI2VqfmkLZfkNZww2Oqo1oGdPxCpk+CH4bNHRiYfjnB5gP2EC3UWgpJU/o4 ScYJuK9LQAAYebq21tAxxMHM7Fjyh7OBjDJ+iuh6HCNrXhhrJaGIR4lPtCdZKE/K1jeB v4hRImeo0dM34ObeCMVzTzv2qIAEid8I64jzymDizW0g94/xDB9CJjExyitLwmf+eM1J ktIvBz7O3AcOCmHEjTi3B83vwAc143TrhFsiMQMS9fIUzvOiGaUEPHSuNHX3hElgjSBr TNOJE6tQdmunBH4eHx1mUqKTJVq2Q03HukKN+3VgLja+8f10VCO9Wb/59eHDRxoedvyS /INA== 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=O79lOdBLkL0aobcbM4hIvOrpYUH26/TKXxfpOh8+QPo=; b=x6xGF2j0cUzKxWfJw7unfBCYCxsHZVMoqidsgH0a54CiuJwh85iC8QECBGbV/nXZms 2//jUfIMMt3ktm7goZwPtJSRXdgBd2xrmrNYEWrdhbzxNJzEdY0KfqwieH0iXphfJISs eDjmfVeEvA9ifoBOyOMIEmZBnH05vR2VaqMMzn3f5bY4VGedUyKIPhP4ANJfcYnCZnZx Btp7T/tvrliAlBpFR8TCcaxmM2Eahsfy0rmQT+ThjxOMXJb+jUZ3qx44+esPecPxIh+4 u7355Sa9sOznv3zhBUt2Dq/hfYPVdPlliWOFMCOZ/IT/zT7vqjeS+VgYJPhtUZmWjqBL vTbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GoiLdoyc; 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 fv9si7751320pjb.0.2021.04.21.07.50.35; Wed, 21 Apr 2021 07:50:46 -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=GoiLdoyc; 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 S240355AbhDUNDT (ORCPT + 99 others); Wed, 21 Apr 2021 09:03:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:42622 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240238AbhDUNDE (ORCPT ); Wed, 21 Apr 2021 09:03:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AFF936144B; Wed, 21 Apr 2021 13:02:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010151; bh=nAsvWXZSs1lsZ5FYx5ec/b4GYI5vAHbvKrT0BGjg4qs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GoiLdoycGElSZAHsQ5SBBfOQoyuP1Jvk8CmWhzV/kgCxIoDtjyoR/HFmTQZZnmTdf uH/aRi0q04q4gIqoL8UxlaJr4xZ3BLqgCg8pkZqD2f1AF8IFvKYTK/9Zx/Nfcn6Nju jTDIKsP/hWNIyCdcC87VTyXm6daEtl3k+RlPK9Hs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Qiushi Wu , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH 006/190] Revert "media: exynos4-is: Fix a reference count leak" Date: Wed, 21 Apr 2021 14:58:01 +0200 Message-Id: <20210421130105.1226686-7-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 64157b2cb1940449e7df2670e85781c690266588. 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/exynos4-is/mipi-csis.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c b/drivers/media/platform/exynos4-is/mipi-csis.c index 1aac167abb17..540151bbf58f 100644 --- a/drivers/media/platform/exynos4-is/mipi-csis.c +++ b/drivers/media/platform/exynos4-is/mipi-csis.c @@ -510,10 +510,8 @@ static int s5pcsis_s_stream(struct v4l2_subdev *sd, int enable) if (enable) { s5pcsis_clear_counters(state); ret = pm_runtime_get_sync(&state->pdev->dev); - if (ret && ret != 1) { - pm_runtime_put_noidle(&state->pdev->dev); + if (ret && ret != 1) return ret; - } } mutex_lock(&state->lock); -- 2.31.1