Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp571829pxy; Wed, 21 Apr 2021 09:32:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDyd+UhqlFTKUUo+Za81H1L1ztjKoZtigM0mKpzvVvVBFCRDW+RVDhZwj6b6OrzJiElLmH X-Received: by 2002:a17:90a:7147:: with SMTP id g7mr11841318pjs.225.1619022734363; Wed, 21 Apr 2021 09:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619022734; cv=none; d=google.com; s=arc-20160816; b=GJvAncC71a2Vvpzu7QGt1fulvCI+Kt1FoztdClrZ+RRsMRp2uPi1hioUNHuSKEO2RX UnuZJhx0TObYk0wraKC4yxq/i6C0P8TOvjbeoS3lOT7LkBsfRml38YHB6NwXeMQe/s0E TAZDl/rrIr2oI6SVkxsaaTo3O242Srh0d31rQP6zJOhB31s3vxb9ajR08TGpcL2ENMVv eSTi80eH4Eb4y/PVRX2BZ9aWLp+Xp7xAQYgouv5MmMB/6FwHGWPJxrAAVtBF5crpPp2U M6jtuoN/o8gmtgzrx4Uayeh1bD++6j13coFa/7GkhtAsv/rG69xSFfJ1ybjpNf9r1Kwc 5gJw== 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=glYSauswVrBrY48GeHKpEVMHxTjJrPoEwT156mWLfG8=; b=J2k1eDGn+ZBdIWv+fc5Vaq9/OQ58juUwrHSJqmNYRtuZAICx1eXxN2c5z4pkWjCdmy HD6uFAuraKRZ1NPf/l99mvEcX4Fb/OEemmQeRqHsm1Wuh7f0IS8zupkORsnz8AmRtxdq IPw3a/yTzSRyJ5JR7Rnwdkoabiexoud7KWrY7rD+XH+F1i4aCZwcrPH9JOH2rAUUHnqF Gah/9O08HcKlq4cESR5h6oHXr4M6uPloHrljFcV+z7sfXO0J0V1XQP06mUZ3+8J12vjY ZURx7viiRzkiYg2Jl2YT7f+Ij1aic6KuTACPpDhbJA3NAU25uzO5x/hAorCVV83BfI0y xeIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZWtFzqqq; 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 x10si3302884pjn.131.2021.04.21.09.32.01; Wed, 21 Apr 2021 09:32: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=ZWtFzqqq; 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 S241683AbhDUNSc (ORCPT + 99 others); Wed, 21 Apr 2021 09:18:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:49136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241612AbhDUNJN (ORCPT ); Wed, 21 Apr 2021 09:09:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 067D16147E; Wed, 21 Apr 2021 13:08:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010512; bh=YbM/JDcEhtUKoOaWmqWbdFHG0wyL5M+A2QKrbumK1ek=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZWtFzqqqw/EGB3vDBdQyv81UrU/QJ4C9ElOJM6iCyyGzwdTazwtTTZJciBy8oEDsm MKLyzeNUfNyWVh/aRaFuoC1uRWnv4FUUGCZfTSw3X4Oli2no/eMxJK5hGZXw8BJd9M irlFdsEW31X7GjuEEpANHb3Hg0CGDhv3GUTDp8b0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Aditya Pakki , Vinod Koul Subject: [PATCH 163/190] Revert "dmaengine: mv_xor: Fix a missing check in mv_xor_channel_add" Date: Wed, 21 Apr 2021 15:00:38 +0200 Message-Id: <20210421130105.1226686-164-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 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