Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4658169pxy; Tue, 27 Apr 2021 09:43:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuiZuCpnZ+0pPVAOMT2c+hNW0WAjxw55v+qkJXbcVBCiC9mDhZiHMdNFptUtQeWVk1Ws55 X-Received: by 2002:a63:dc49:: with SMTP id f9mr22375381pgj.361.1619541809341; Tue, 27 Apr 2021 09:43:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619541809; cv=none; d=google.com; s=arc-20160816; b=J3gOxj+bOyAJqtDLhgNHwqM9RJXW59KP9qjlUOz8R8BNYQWwFxZL1d6fPQvzQjRs6R 48MWbjrgnBBabO/hQBUuONWeCuA6xok/99N0NK+AP4hWF/dJJRYmm+RI3B2jIxuHcECK QDVh1M9RDIJl7J1MfamaNkevygZP6oH1ol812NTMSN76dTiisJihYfoZUwh4045T7bp2 lxuMWN5DG3H0iZ4mSWo5LFnBSelNW8E7CpDttGoI7J9ccoOGtVuNmULE0kTZsnuundw7 6J3z7ECXQbHX+mv4tzCnf3r4QiyION16uZYkCMbofDI60VwF5g1CY8xEbl8kxpHe8Ijw +qHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NUrmqhHkJyiLDBlzXBs2FBvD0ev2EswgOZDO0o8/2Cg=; b=HuFskjQZWI4tnSLGc3xXc9axYy6Ed5teMbfo9axA//jCM2C8khSbNfZtKUrLPVLam1 eq65D1kc1OQN3v+Yt/staPTLdPhA2SwkETHFkHdbLBsPUaojCDNz3wJPj9nv7sjPUlyc rpiva1m9UTrO1XkOUzu69l+KvE+/qFqHl2qutz8NJI3bsAvsqPrZhT4nel/9m2cwxEyU xYk+tJ0e3un9suJI/CPTmaVn5QwNsBPpaEwUOei+ZZCO7PA7oLCWpgp1sJYm39yPfcQm n1QJyogDHhMfH+pedfPFD4+GeRNuxXfchdFbNuxKf0v/kjPcINgIPUDNcCATVJhpOxHo 3HmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OPKpLHrN; 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 x9si3925608pff.266.2021.04.27.09.43.16; Tue, 27 Apr 2021 09:43:29 -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=OPKpLHrN; 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 S236607AbhD0Qn2 (ORCPT + 99 others); Tue, 27 Apr 2021 12:43:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:34544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbhD0Qn1 (ORCPT ); Tue, 27 Apr 2021 12:43:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E8831613D9; Tue, 27 Apr 2021 16:42:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619541764; bh=nfsUE5d9WGKYmNSPIsfCuFsBlRL9oUOT0wcmmvAMiW8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OPKpLHrNtK82CvfJn2HXFtAfG5GPTciVrqiyMuyH7WIWB3iLjN/GKMoTroiGxZgOs UCoR2GuBhN6h3FsJziR/H5uZ6irkCelXs5f+Cs3suZ0zDMnvRbCG0isYTVwTulJb5/ 3i7c4HemgmPoiR9HbP5iyFn5jZXF5nyB6PIcd7bY= Date: Tue, 27 Apr 2021 18:42:42 +0200 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Kangjie Lu , Avri Altman , "Martin K . Petersen" Subject: Re: [PATCH 118/190] Revert "scsi: ufs: fix a missing check of devm_reset_control_get" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-119-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-119-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 02:59:53PM +0200, Greg Kroah-Hartman wrote: > 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 > This commit is incorrect, it does not properly clean up on the error path, so I'll keep the revert and fix it up properly. thanks, greg k-h