Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp550570pxy; Wed, 21 Apr 2021 09:05:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv/PJpPWHcTeiTxYqkBwtu6JnN+XCiHWjJrLicR21KzD1g4RvGHkFPHBp6ElB6GCQgQJxH X-Received: by 2002:a17:90a:f2c5:: with SMTP id gt5mr11866568pjb.67.1619021123108; Wed, 21 Apr 2021 09:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619021123; cv=none; d=google.com; s=arc-20160816; b=paOlohoAqytegGjFcg1KNkLSG6tS9dJpwEbIDQx8TBGyzbeh1ERvE9DqkI96rt8xi7 g467wDYwNjoWOyEHqfucnvU6U2/+gFckOhZRX7c4B3ZTtw3AZZ5+jtHvidKQP5aZ1KAU uodQishLseIR64Jz45gQS3P/gap/bbkzZCpn2HhKTF94YysVRrdMIoTkmb+VC8UORjAi gS6+5jD9gKKXSu69OgbwrfIQWR2nofD+2XW5zUzgd+HpiSBWpuLQzdhya1eH1rqI/0QQ 27aBWzVU79SlhdXkGeVZarA9Xqo7oKx2BdNyixGkJgB3IQoBVeyxo6tDZNNAynIwhh82 TJjg== 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=UUtddcyWc/z5UYAmqDVULwmUjn+uaQSp2ynPv1c8n+o=; b=FYbxl7lTIlIpyDwTLIVCAK4pLh3r/ZHFZ6C9l6p1KVi4D90BF/I9UqK/KVmy0RdAWh R8kpMwUPOKyZyKrgVpKZUKSENBPLER94HFbToj7qrGpXfV2IK16KbU3KuzDlqBOdyxiX PRGmLPMwZ9UV2m/EUr2NxLljuFlA9udWyJPOqXOpLMLmlByzO7SVjxUGnosMPKyUSeRo tLV90QjcpK7KNhrRv0JVY6cwfSKkbICC6u+rurE2Z8ffYgZlQexKlUDhA3mZwue1wJsL ngvWcNWxPHu/eVcYuraRNxW/enpTqM2RP097H8UIrbIlH0Yc5LJAi8o4BM7sXXvHjX9i jGiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ggTp6AIS; 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 m18si2574289pfo.85.2021.04.21.09.05.10; Wed, 21 Apr 2021 09:05:23 -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=ggTp6AIS; 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 S242087AbhDUNJs (ORCPT + 99 others); Wed, 21 Apr 2021 09:09:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:48956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240772AbhDUNHI (ORCPT ); Wed, 21 Apr 2021 09:07:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EE36961440; Wed, 21 Apr 2021 13:06:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010394; bh=V8cl84AGiB+lKu2uhDRDqIV9Oc8ljKG6mDuqEQcyutA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ggTp6AISyYgRykBV8V2ctRKZeUWittQJSlJN1zLM871TqY3ZJ83rzfIPPMOgHPrKn J9PQCeUUTvI0G7ghD0ZO1TbSzZIlVEOEcYaOrsb5CVKywBqNfv6VzMhbE763ALCs0G nuA9qJ4qS6p1Z8GoMjxP42DE1id1P8UQT//dhK+M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Aditya Pakki , stable Subject: [PATCH 121/190] Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference" Date: Wed, 21 Apr 2021 14:59:56 +0200 Message-Id: <20210421130105.1226686-122-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 32f47179833b63de72427131169809065db6745e. 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: stable Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/mvebu-uart.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index e0c00a1b0763..51b0ecabf2ec 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -818,9 +818,6 @@ static int mvebu_uart_probe(struct platform_device *pdev) return -EINVAL; } - if (!match) - return -ENODEV; - /* Assume that all UART ports have a DT alias or none has */ id = of_alias_get_id(pdev->dev.of_node, "serial"); if (!pdev->dev.of_node || id < 0) -- 2.31.1