Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp541866pxy; Wed, 21 Apr 2021 08:54:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWTu0ApZdTNbf2O10L74BpVO/Mq2I9MVtruOUe9oFd7KwYXuBwUaQBtnXJKAtnAkJP1oq0 X-Received: by 2002:a17:90a:8c8c:: with SMTP id b12mr5247272pjo.35.1619020459497; Wed, 21 Apr 2021 08:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619020459; cv=none; d=google.com; s=arc-20160816; b=sn9yArOriIIHWj3bBB9zeaWHvzYN7SZZUxVfDA3t7+nsq7kA+d+k761DgJwgxD7Hcy 5U+/3t5qD1uDH+db/JWdYZmA0eLxpj8l0kw6D+ySeplyD0w2Jg2ynTKEjuQCvVKb1vvr vuW9eMgFRJGjabsSXGyUl6ndTcNdIQDOb0mOLya4Fk8tK+ieTGEZFokFEt4P477qUkEY RIk9TF5lNQp0O/3h4DMYjZjkGFYU6IirM9znztLQ1wVrG3VZvQ/v/No03M9jUiMrQ2m1 XqF3FuBl6QQAP2XWLhn2pekbRyvMQgjF+AU03OZs4WvyZ1F+yVALRPJWijNjRGrgPaZe H+5g== 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=DkECuiqY2IO5wzHYbaIRmCWqFouP9WlQ933oWDcjeCw=; b=c1JfTiNA4Jvm6UACAR5jfV4Kdj1SDQ4UI6mCQ99Bi1wYoyOp2IuKzSMkOY4UnUMBH7 za3PmzPVekLVAey9rUUTkjFCXAJo5aLBw624n4rLoq9rw2c1lOp3Wqwd/qZgNPSy+a96 8d1X89sGuQlOE663zopttyGxMb8J23z7YWwi6IG5lj5T7Q5kUCWRRoj4Gj2J875ehsWC nSEAwswqSaaE0SsL57KyAXaL2pVcPyINF6x8z4DFwlaaWFA/GFlbbzNV7cWABpw60g94 VMflA5N9LJfLU8zkME3pIpuoijPH0qqpSDDJ2U8ef6PsOmDt4NWKornPMr5zkkBBJTu2 2+Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Kmqfsd2k; 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 r191si3179234pfc.50.2021.04.21.08.54.07; Wed, 21 Apr 2021 08:54: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=Kmqfsd2k; 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 S239988AbhDUNIL (ORCPT + 99 others); Wed, 21 Apr 2021 09:08:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:47464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240933AbhDUNGK (ORCPT ); Wed, 21 Apr 2021 09:06:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E5E896143C; Wed, 21 Apr 2021 13:05:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010337; bh=PmbW62rFImm/dD76NdzJarGfWdBoLuW5tjUbaM4Y2H8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kmqfsd2k6hT75uqLsvHt447/dMbpoGQuKGg8qfdrpCAtpsOogFg1Wi5lRg/4xxK4M P8s8Fauhbq+Ugt/2GDRn5qOSw/7tZVBBXNRF45qrtKU3yEGF0uIw3RamHtqyvyOe8y OywH/OhPjj+tA6H0J83kY746gNNX6Kgl7J4GFfRI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Aditya Pakki , Ferenc Bakonyi , Bartlomiej Zolnierkiewicz Subject: [PATCH 098/190] Revert "video: hgafb: fix potential NULL pointer dereference" Date: Wed, 21 Apr 2021 14:59:33 +0200 Message-Id: <20210421130105.1226686-99-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 ec7f6aad57ad29e4e66cc2e18e1e1599ddb02542. 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: Aditya Pakki Cc: Ferenc Bakonyi Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- drivers/video/fbdev/hgafb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/fbdev/hgafb.c b/drivers/video/fbdev/hgafb.c index 8bbac7182ad3..fca29f219f8b 100644 --- a/drivers/video/fbdev/hgafb.c +++ b/drivers/video/fbdev/hgafb.c @@ -285,8 +285,6 @@ static int hga_card_detect(void) hga_vram_len = 0x08000; hga_vram = ioremap(0xb0000, hga_vram_len); - if (!hga_vram) - goto error; if (request_region(0x3b0, 12, "hgafb")) release_io_ports = 1; -- 2.31.1