Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp538627pxy; Wed, 21 Apr 2021 08:49:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxL7GDqGa+wOTX7c4ZLWc4sOmRrDvlLRsKGzVMsuWDRHEVKXbQlDAiSP8avHsD2n0AQ6Bq8 X-Received: by 2002:a50:e607:: with SMTP id y7mr40013237edm.18.1619020159348; Wed, 21 Apr 2021 08:49:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619020159; cv=none; d=google.com; s=arc-20160816; b=WW96fqluXVtTxkuwFoM4MzPEhe3aHA4//ZfJUdH7fnVjeTMvQFtF1LYPyQrSnysG89 46fbGHBw32EIK2499R9KCnOBsdSH6Gw7wLOsKvhN5uFllu/oX1ZtL2/TcV6v8uS+O2ZA 1YD/Ynexa0gaDqgvHOhxZJywtq/FsAWx/AjkghbHUg9seBsfvMiSrKq3d2VN3S8iwfRR Je9rCVgO/IGSGth/WG9KEUwmJX1j3x/Epg2k9vr2RkmeFwuygekXOi4Hv3yrF6UeGJkg mlNPQhExZi2fJl5rtubD52sI8UqoqyiE2iMvzlhKdnOBtuWES8mzZonuLzpWWPKZCo8u m5nQ== 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=XzyxuRNe2ZAWk++mLg77Fmudw3x0ifYOumoV5uQULbw=; b=Nvkb0us/wyoJd3G/zJam7bUjVo8fSNF9kMNjA5ozjo+Lko4IJKexN8tavTPtJ2VO4t OKrZ0aKvaSeqUL+p1FEVsSa4I4ghfjQIc/k7iiJnWA9wzfo+B1z97JTR6DLPXD7yvIA/ KnjwhGwrdjat7jdkXAm7VHCOzK7VuOEk6yqiZwk16WB3+0Rmwn8W/U9DVJL8qJkwcwZy vWP76IzOCrE24sq9G/2FGEiEWWjkvoRn0uLj3hw1VrprDTTcj99Jzn5Q4XZb4otj9aoA 6+hhmF8uV5u+gZ21fqpPAr59dWV5dDFlU7Ll8vzk5+k36VC+NtbT19IByREDQc+4eztp ykUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2wdPWxBQ; 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 g20si2575153ejm.249.2021.04.21.08.48.56; Wed, 21 Apr 2021 08:49:19 -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=2wdPWxBQ; 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 S241184AbhDUNH1 (ORCPT + 99 others); Wed, 21 Apr 2021 09:07:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:46758 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240721AbhDUNFo (ORCPT ); Wed, 21 Apr 2021 09:05:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2634C61464; Wed, 21 Apr 2021 13:05:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010310; bh=fnUVQIx3gsSMmwjFUdEROC1SSDNtTcZJgiwWSP0Ahyg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2wdPWxBQrnECB3izvINH/oGSSV77y78/+ot+1sW2mconBPHhVDigO5p/rbvSccLyv 8WWBSZfl3vF6bfCqvhRnGXfaT0zfjplKVGPie8ou142ZSDv5sy0oOvUxrzZIWS1VA5 sEkhOpbHjGbu6inPA/BqxceZpy+Fm+pljOTOyBlo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Lorenzo Pieralisi Subject: [PATCH 089/190] Revert "PCI: endpoint: Fix a potential NULL pointer dereference" Date: Wed, 21 Apr 2021 14:59:24 +0200 Message-Id: <20210421130105.1226686-90-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 507b820009a457afa78202da337bcb56791fbb12. 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: commit log and code update] Cc: Lorenzo Pieralisi Signed-off-by: Greg Kroah-Hartman --- drivers/pci/endpoint/functions/pci-epf-test.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/pci/endpoint/functions/pci-epf-test.c b/drivers/pci/endpoint/functions/pci-epf-test.c index c0ac4e9cbe72..39dd394284a5 100644 --- a/drivers/pci/endpoint/functions/pci-epf-test.c +++ b/drivers/pci/endpoint/functions/pci-epf-test.c @@ -915,11 +915,6 @@ static int __init pci_epf_test_init(void) kpcitest_workqueue = alloc_workqueue("kpcitest", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0); - if (!kpcitest_workqueue) { - pr_err("Failed to allocate the kpcitest work queue\n"); - return -ENOMEM; - } - ret = pci_epf_register_driver(&test_driver); if (ret) { pr_err("Failed to register pci epf test driver --> %d\n", ret); -- 2.31.1