Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp550295pxy; Wed, 21 Apr 2021 09:05:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3tOQmueaY7FGwO7eiqZeLb5bh/QLClWSw3Q3Xjm5TWw/BKaogmlWfJ7zJnjhXuw3ES91k X-Received: by 2002:a62:7e53:0:b029:254:44f:23da with SMTP id z80-20020a627e530000b0290254044f23damr30790529pfc.38.1619021103195; Wed, 21 Apr 2021 09:05:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619021103; cv=none; d=google.com; s=arc-20160816; b=xDzZH1LRJILPwbVWoyW4fhYzTrt7EEb45akbowFZUL+OOppc3mhte1Dqz5hz4F4818 q+AEky34hYYuOfe8N0yP2wE1cvrINi5GyRxMXw37aharu7Xn2Kk9GXQiTUN5zWwfSlsT /pQj8A8BhVoa7vdFxTHClU3v+Bca7vPGYMaJu37M0lxXlxqGaFvA/57cBKz9gY8C+1ht ejlFMOXBkLll7dYoGCfB5MEZWrX5/4ezsN62sUgAKU+YiROIPye1jQ4qJaK1fiWayIY3 iF5xYwT2BjQJyOpLWdJDD1mPN2Qy7mnJ5RvMLlHJCBlf4Ymm6W0DI0fUsAOoNmOZzUJW WsYg== 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=DNiVDh/mOtRiRHu7vRaaX3pJVupgUur0NfhgdnAomtA=; b=IjYTOhf9Oyd39JTmT37JMjktNSXvk3bK3dkRsL+0uB7BAUPJ0f9rNc2SSoK0tVOdVB tgnvkk/BJoDam//gYAGas3ajW8AzA/esOxQxgeoVmrlfdIz35qSO22D1fc702TR3Jwa9 aTUuOvmvWOjyx8PPMv/sXcR0gplxA2wovYKMbza0eUT/dPW9AWuCN6d95t8wT6Xmp3YX 1hhxmA+OOfT9N2pt3i8zKQr/B5RZxB5GFDb8bEIkpxvaXkr0EYb/PQggmd6n9iQXavy6 FL0QP6Pa+NZnQen+LEliuNePLtYNXxWktbMeadstbsjf/2KzLNzczSKMzUDVlTGnoFbG ipjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TmvGFEBr; 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 u37si992pga.308.2021.04.21.09.04.51; Wed, 21 Apr 2021 09:05:03 -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=TmvGFEBr; 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 S241935AbhDUNJe (ORCPT + 99 others); Wed, 21 Apr 2021 09:09:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:47370 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239689AbhDUNG7 (ORCPT ); Wed, 21 Apr 2021 09:06:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 83B4561452; Wed, 21 Apr 2021 13:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010386; bh=uzIaOMNGCQ6Uf/UGxcGNeEuzWnR9hEHddcDqfgT9RdE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TmvGFEBrvwU1GzDYUOA2urJBrwHYJk167nE8bF3RrCh2iJiDwLFMCXvCZschkEK48 qL+g+Kz3PlygDwcnQ1Hroe4JRwat3KI+qbB73QHCyzNq6sAUIWQuT79IXcnCIMvsNv HLrty9P3eBOffKFrJPBlgJ1JgIHpJX/ScbxXc3Tk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Avri Altman , "Martin K . Petersen" Subject: [PATCH 118/190] Revert "scsi: ufs: fix a missing check of devm_reset_control_get" Date: Wed, 21 Apr 2021 14:59:53 +0200 Message-Id: <20210421130105.1226686-119-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 63a06181d7ce169d09843645c50fea1901bc9f0a. 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: Kangjie Lu Cc: Avri Altman Cc: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/ufs/ufs-hisi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/ufs/ufs-hisi.c b/drivers/scsi/ufs/ufs-hisi.c index 0aa58131e791..7d1e07a9d9dd 100644 --- a/drivers/scsi/ufs/ufs-hisi.c +++ b/drivers/scsi/ufs/ufs-hisi.c @@ -468,10 +468,6 @@ static int ufs_hisi_init_common(struct ufs_hba *hba) ufshcd_set_variant(hba, host); host->rst = devm_reset_control_get(dev, "rst"); - if (IS_ERR(host->rst)) { - dev_err(dev, "%s: failed to get reset control\n", __func__); - return PTR_ERR(host->rst); - } ufs_hisi_set_pm_lvl(hba); -- 2.31.1