Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp490879pxy; Wed, 21 Apr 2021 07:50:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHZvW0LdpArB0UW9d5huMGmHoDP+tlKz6aUhOIUbNyHrf9a2liwAkjWqaFKNySzFJKABYJ X-Received: by 2002:a17:906:4ed0:: with SMTP id i16mr32411023ejv.96.1619016614958; Wed, 21 Apr 2021 07:50:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619016614; cv=none; d=google.com; s=arc-20160816; b=KMWfwSTIsswhJMOwxRZGsL9MTLm5e7mPtiGNpmOwd4L74oqyMf+aJ1ccnClM9syRVK oMmSyV9rm1y52fOCNf/Igy/VXLDZS4rUrNS91+AbsYfLakMngj83a7KGld8gBsPZ2EBj tqXibBwGaOM5S4av40YeQYOXU5C9av5al+8IcUVEzSKKNCluAmNk5B6NErP9vBesjhXc UkUIqGVhAmowP2m4YaBb5LMe4HdCvObuuD3HDemF7WeVcj+fARaPlkrd2GOfC//yxgOo LK0r46ITlxcd7NoL0s8xp4eh23EIkRn5Tu173xn0Dk5ceosdaPWfQzdsc46+AzYEfb3R Dp6A== 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=88ItIPk0XpmqjlJlRrmFV7tCk14cgYIrbNnVXuzz78E=; b=eTusXkdC55VWxnn1o+BvGtFXhIvWFGICFaAoDouBSnlFM+33/UkVJtYM7j4mr+ZQs6 HEzB7mAtuYEhsIvf7YADl3w+eIdw2gw+S1BX3K99vyfD15eXcJAJjarO7TYS7+yVMsuq bK9z3Wh6Ntu3VYmmjLoDmRs+AE4VQJUs0gu9SZclHT/NDWjRM5zoynsmc/jXhyRLlibL zNw0udHpUfpchQz1wH0LxC1IQXZQPqc/QVt2tHzwwpP/LDGfaS5pJInUNUTIrPJzBGsh PKU7Vb5glNccUn5quqZZGe3/pnYCGLdhO1iG3xPXN73POozSyFefRnZOZwbiSUajugau gi9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=s6nd4TOn; 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 hq8si1779488ejc.358.2021.04.21.07.49.51; Wed, 21 Apr 2021 07:50:14 -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=s6nd4TOn; 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 S240282AbhDUNC7 (ORCPT + 99 others); Wed, 21 Apr 2021 09:02:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:42274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240140AbhDUNCu (ORCPT ); Wed, 21 Apr 2021 09:02:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E937761454; Wed, 21 Apr 2021 13:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010137; bh=PikN53d+FWu23XlMVOKVXXaD81ya+7z4Xsd2LjkmWKw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s6nd4TOn/CDxj39z7KS+Ju9mhUhjJZdmQc658HADs5YK7Rur2/9/8Z4oPjKXG5tT1 u42eIE9D1KTjhaVUIA44lw/9b5racH6ojbWcRpk5zwHTi1fe4ORPYBK/qStPgKFyQn AjYZ166yys5a9VzJRb3rxV6g3jhMd3WJFgwg3gdI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Qiushi Wu , Mathew King , Enric Balletbo i Serra Subject: [PATCH 025/190] Revert "platform/chrome: cros_ec_ishtp: Fix a double-unlock issue" Date: Wed, 21 Apr 2021 14:58:20 +0200 Message-Id: <20210421130105.1226686-26-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 aaa3cbbac326c95308e315f1ab964a3369c4d07d. 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: Mathew King Cc: Enric Balletbo i Serra Signed-off-by: Greg Kroah-Hartman --- drivers/platform/chrome/cros_ec_ishtp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/platform/chrome/cros_ec_ishtp.c b/drivers/platform/chrome/cros_ec_ishtp.c index f00107017318..d4f41d68232c 100644 --- a/drivers/platform/chrome/cros_ec_ishtp.c +++ b/drivers/platform/chrome/cros_ec_ishtp.c @@ -677,10 +677,8 @@ static int cros_ec_ishtp_probe(struct ishtp_cl_device *cl_device) /* Register croc_ec_dev mfd */ rv = cros_ec_dev_init(client_data); - if (rv) { - down_write(&init_lock); + if (rv) goto end_cros_ec_dev_init_error; - } return 0; -- 2.31.1