Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp538564pxy; Wed, 21 Apr 2021 08:49:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWs3WLPGhxRimdQyV4qfVVGcrdfZiTINLMd/m+/o21jaQgbgSKJvj47oM02dD0IcziO9ej X-Received: by 2002:a17:906:4cc6:: with SMTP id q6mr33215605ejt.131.1619020152510; Wed, 21 Apr 2021 08:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619020152; cv=none; d=google.com; s=arc-20160816; b=g0vCN+pJv7MNI9kb3ST3OlrtWgbaYulabDTfpJZtGjSvtie/SSRuSeUXyq/IazcDav 4uf3WjM4trTnjWdoJLmZ74lUkxBRVsgSHF6Y46DjrsRZ4pGCT8x5RhIVxvfW0uB+lM3N U2ADvDN5dVufDVL3uIsnNXDyrpAMnbvnyDpvkXGCCFeeWFpjBnoxl8aUYSFYvl7DrBrl 5omilEDlvC8a9h0rFT6MDfygDeP+NWCOpW0CG67cJSjFeq03yfQgMq18xcDN8tHDf2oz qy/UMvPACrFG5/HgN3ogbG/Wbet9ou3MQnKIONKAY88zymi+5+u4mTcGLWY/j6pmpKmT 1fmQ== 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=qq5MyTaQrWpoDeOL3pqMtKfilx8a75gGe5gRZaU/U1o=; b=cMXmYkLSnuyj7w5BcbJONQRYa/ypuaCS1L683t7Qq/G1M6d36DYs1QEEcaFqam5wks 8/7Vg8MOOOnhSb5T8ga9tDUbSrQHPK/ETTw3kJNiJsw55HM6z9fNBle7FGPJh/HtoCaj iTBAUOZqwX0MgAc/ZVAdWECLFqVOVH1NiMjChVl9X8RjvNH1uXnr66HiYGVCfAWkOfrU hMxcOki+vyBDh1iyHTJfmnz/Kj49SWlkVcx8/cFKvZhwkKYzYAgc/BfxEsN2zZAN3+Yn 1mmShlgNyR8Ty+ggYiDQO3sKvvBitaZjODAQ8Km7WCebxdAx/OAfmn5s566jHwLhvXar n1Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OnywF1Zt; 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 p25si2577828ejc.571.2021.04.21.08.48.49; Wed, 21 Apr 2021 08:49:12 -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=OnywF1Zt; 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 S241042AbhDUNHf (ORCPT + 99 others); Wed, 21 Apr 2021 09:07:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:46884 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240857AbhDUNFt (ORCPT ); Wed, 21 Apr 2021 09:05:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6ADCB6144C; Wed, 21 Apr 2021 13:05:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010316; bh=uIwD9j9Rer4ZZY61rj5nY8c5JGTlapsGFBnHUQPBBbQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OnywF1Zt8einKntUqoLw8ZXxuI0bJ8NbvLm7hYOKfQrO3H1lLhK9tLGVqNZb/Tdr6 Wl7tMQqsEkIh1jVDzhKmsl6t1mPyH0aqByY/3rKJe/Ic06riDc9DpgBKEO0ph45nD/ uCvoenXbEnnYjvk8igGFTitAoqup2ELZU3xDO/QI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Aditya Pakki , Linus Walleij Subject: [PATCH 091/190] Revert "pinctrl: axp209: Fix NULL pointer dereference after allocation" Date: Wed, 21 Apr 2021 14:59:26 +0200 Message-Id: <20210421130105.1226686-92-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 1adc90c7395742827d754a5f02f446818a77c379. 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: Linus Walleij Signed-off-by: Greg Kroah-Hartman --- drivers/pinctrl/pinctrl-axp209.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-axp209.c b/drivers/pinctrl/pinctrl-axp209.c index 207cbae3a7bf..58f7149dd39b 100644 --- a/drivers/pinctrl/pinctrl-axp209.c +++ b/drivers/pinctrl/pinctrl-axp209.c @@ -365,8 +365,6 @@ static int axp20x_build_funcs_groups(struct platform_device *pdev) pctl->funcs[i].groups = devm_kcalloc(&pdev->dev, npins, sizeof(char *), GFP_KERNEL); - if (!pctl->funcs[i].groups) - return -ENOMEM; for (pin = 0; pin < npins; pin++) pctl->funcs[i].groups[pin] = pctl->desc->pins[pin].name; } -- 2.31.1