Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4487135pxy; Tue, 27 Apr 2021 06:18:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9LznE3EXo1HMsNCtii/YNjKemeSwJM9AcA8HTMY+4UdLniIZpr3pHJXbTR6iRHHmfDHVv X-Received: by 2002:a17:907:76cb:: with SMTP id kf11mr23617176ejc.472.1619529505666; Tue, 27 Apr 2021 06:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619529505; cv=none; d=google.com; s=arc-20160816; b=rK1+ZvzXXrwjVz8qeV8UdQdpbSW7NRkuSGf4Hb0UmU3HVfnYF9abWRew23zCtGCzxq QsTXAU3nbeO2itc8PiK+YKlZp/JN4eBDQgyc3VpDusBLnGzKK1UhxmEuMIaXKpf6wlK0 wh4JXAmeQeGdrl+PnJqWWXPiYdPXmhPUBHwGFQR9YyimVE43Nn/x1jkfN42qnsb+uiXJ HJMr93vicD/LLbP3PUTtLbme/mwsdB9xBPviNcQHg+glm1FiSdmlNqqin0yXtGmkscNb Q66biEVNlXID52Iwt7IAVoq/DB7PsmipcsMapXEHmGxIc8HGr5keWCYMMVA93qreRSti eYOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/5dGjOaA5tyF43GuI5HcKEAOopGctLS+y976M/LIqoo=; b=SKvTHpwM/lJa3D4gj6yzaLCDP2mIvcWilMAuFugD2bC6aioFqI42WbpJTiVbgEgTo1 IIVBkyw0uX+HjZBidGJF36MvbloO0VRrZqawhfU3+8a948Ea0CI60pH99RJMTFIb8VUc wFCWn/sizawYVU7DQjOFl+3cWi1hrzQGMEOkIOocVgB+X0K9thIw4FDgcm432K7TAv+Y bVwtWHVXsgAqRj2XCuivvWa3R9yx0oK2Tmm+DBORemdx9gsOjV4AQXhukW9YoEzfEVv8 JiCbgYx8ePf8jsOMlYAjCgyc4XtDRZw/mhFETiiQPOexrJA2nqpPiJeRhz/r2ddsmprc 8/kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HuYN+NG+; 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 hp35si1673080ejc.361.2021.04.27.06.17.59; Tue, 27 Apr 2021 06:18:25 -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=HuYN+NG+; 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 S236008AbhD0NRk (ORCPT + 99 others); Tue, 27 Apr 2021 09:17:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:51654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235489AbhD0NRk (ORCPT ); Tue, 27 Apr 2021 09:17:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 36E1D60C3D; Tue, 27 Apr 2021 13:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619529416; bh=peNgo+yuiIkO1SN5wDs3JOHrcrGy/ZYty01XP1BJVdY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HuYN+NG+xhETIpwjRaPV5tpXfgRXNfGHKIDEAoAgv9PTgEsJ2sdnaCA828LDBl6X/ BYtkxlv206bgtxpZuDXfsY4lPXcoxCIJaqLL1At2K5oIrPKtzmiGdnC9bf+XFSLftx 9QV9hLyPMjDkbNuB+dm3Mm9PXRVHB++PoNJI/Qi0= Date: Tue, 27 Apr 2021 15:16:54 +0200 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Wenwen Wang , Hans Verkuil , Mauro Carvalho Chehab Subject: Re: [PATCH 183/190] Revert "media: isif: fix a NULL pointer dereference bug" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-184-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-184-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 03:00:58PM +0200, Greg Kroah-Hartman wrote: > This reverts commit a26ac6c1bed951b2066cc4b2257facd919e35c0b. > > 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: Wenwen Wang > Cc: Hans Verkuil > Cc: Mauro Carvalho Chehab > Signed-off-by: Greg Kroah-Hartman > --- > drivers/media/platform/davinci/isif.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/media/platform/davinci/isif.c b/drivers/media/platform/davinci/isif.c > index c53cecd072b1..5355a14c090b 100644 > --- a/drivers/media/platform/davinci/isif.c > +++ b/drivers/media/platform/davinci/isif.c > @@ -1086,8 +1086,7 @@ static int isif_probe(struct platform_device *pdev) > > while (i >= 0) { > res = platform_get_resource(pdev, IORESOURCE_MEM, i); > - if (res) > - release_mem_region(res->start, resource_size(res)); > + release_mem_region(res->start, resource_size(res)); > i--; > } > vpfe_unregister_ccdc_device(&isif_hw_dev); > -- > 2.31.1 > This looks correct, dropping it. greg k-h