Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4732961pxy; Tue, 27 Apr 2021 11:18:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIipQ0GKwvDJ+8M5pnWSjKDYXVEjlaZSVZOdW16zSrJTvPutmLu1xFh9pMV0Ur4cfLAlNl X-Received: by 2002:a05:6402:3090:: with SMTP id de16mr6079542edb.177.1619547524429; Tue, 27 Apr 2021 11:18:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619547524; cv=none; d=google.com; s=arc-20160816; b=CLWSHqiF4n5dFq4+Z4SuU30cFawfpUR+Y8Rce+09/CVBHv8m1gJIXrug6HdIrB9tnt 50iUH3c746iXbPemswmWR4jYdECFBd7SASNVXnFg1b0Y6lf9rIq/1kj+aY4HENICwuvj rBWe75B9bqLHP8jlA/0IU8xpZimM79xCOE43KHGGS6rz3cnZ23N3B2AgVm3ca8mVAQUF cg4/uLwrTKQNRoNaS+r9swiNyoFBW7MrWk8dEVI7uaZTbbCn22/lVnlG1WdcD0qfYndK zNTEzqx7lREtIhjZSLGrZWan3sIQL+k3nBF13UziCz4tVPJvrKTYbWiO9PFz7MmFeiue nHDA== 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=TPbHEdD9PZPYrYOG4igSBV8LL/SUXVdu9IRqkCWtSvQ=; b=LTNegVBniFLwHGopyTV7wR8VSYb5iaD0Be8XDcy3WKYYC/+TjEkzK05dQNEbx20Yn6 vKRdh23K/wLV/+anEJM9SgXbfgzXCgqQcRspKEjTcBVcHiLYoj90BF0M71CDHHpMq8UH 9jXGT7pTjuzz5/FvnZI/ldaIwCdHfi/oChyPtOrpE7Fy3NPY3HMzjUYCiNvxgR4SzVqz 8dF2XI3TR9VKt125CDCOLLAxZECEG5AcZgKbgQGN9yAaxA5oxQQ1wusr/9wP+3ZtFLqe Sx7JIYJQlj6z99X1ckcuZtXbBsyDvN2JnS9hJcMYsD357IJqzfHkxLVaGnvLT1ejrS34 VAUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JgmIMoHU; 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 d10si512735ejt.647.2021.04.27.11.18.20; Tue, 27 Apr 2021 11:18:44 -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=JgmIMoHU; 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 S237942AbhD0SPc (ORCPT + 99 others); Tue, 27 Apr 2021 14:15:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:39910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230219AbhD0SPb (ORCPT ); Tue, 27 Apr 2021 14:15:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3B99F613EA; Tue, 27 Apr 2021 18:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619547286; bh=p9VYaptoIh7qUXpbZLLRQsuXGmczzPkzM8cN3UCnuUQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JgmIMoHUa6FeBEEZtPQkp101shNytCAmGV4+18SLe9AmN00KNbL8RV30emx+P6osY o/dnGgyKngAoxIta1rage2Vqoo542Oz+iPHwz0ZYg2cYrAdK0ih7bo9shfynR0GQg+ vPC6BxdbWSBwORfdPzZGSPnaoNB597PJ+07Ooeu4= Date: Tue, 27 Apr 2021 20:14:44 +0200 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Aditya Pakki , Vinod Koul Subject: Re: [PATCH 163/190] Revert "dmaengine: mv_xor: Fix a missing check in mv_xor_channel_add" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-164-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-164-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 03:00:38PM +0200, Greg Kroah-Hartman wrote: > This reverts commit 7c97381e7a9a5ec359007c0d491a143e3d9f787c. > > 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: Aditya Pakki > Cc: Vinod Koul > Signed-off-by: Greg Kroah-Hartman > --- > drivers/dma/mv_xor.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c > index 23b232b57518..78bd52565571 100644 > --- a/drivers/dma/mv_xor.c > +++ b/drivers/dma/mv_xor.c > @@ -1144,10 +1144,7 @@ mv_xor_channel_add(struct mv_xor_device *xordev, > dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask) ? "cpy " : "", > dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask) ? "intr " : ""); > > - ret = dma_async_device_register(dma_dev); > - if (ret) > - goto err_free_irq; > - > + dma_async_device_register(dma_dev); > return mv_chan; > > err_free_irq: > -- > 2.31.1 > The original commit here is correct, I will drop this revert. greg k-h