Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4498577pxy; Tue, 27 Apr 2021 06:32:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3BirTtrJyxZ3RxFjPovgQZtuRT0PaVjP02xvlAkTBmcq03r+S1CmOZhmPXHuVQH2wQDgX X-Received: by 2002:a63:d456:: with SMTP id i22mr14186482pgj.204.1619530330331; Tue, 27 Apr 2021 06:32:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619530330; cv=none; d=google.com; s=arc-20160816; b=SZp10jnCSE3+/nyPKyd1FYMI7W8/0kYN5ghEjUB0EREJsRAISdvZ+cJmzQrSUJupR3 q0OUEIlKn4yrzE9o99vzEA2tbCBd2y75VHgrisiGaDAwq17SKpYIK3FsDLZRoj7GbKFY HrAjXWI6n9rhoTVV1eROGzYbSCxgcZe9qYRfbq2ue4iaBdv+JZtDLd1Im0RORcrDtxtD aNWyxB06LnbL+GThCu2UL3ihpDi0dXg41FTs57RLQXby0Od5/fJh13FugGpv54SzOPtF jXdMQx3p5ni1RmwlTO5m2/ONlyBSQW+HtSrq1Cp79bpn4br9tcpi9thNZ/zUwWWw/lkf kkRg== 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=kdNM+vMNbGrQSVxlBX86tbzCPCc46P7NcNH6a4LPvSs=; b=IcPvVivwOqcBYolNJUAegrmaRwDGyOQ+0bIkVj/aAUhzB0qdFEoqKorJMRlByZINWj jMz6TRY/miRBZqZpFGmzWTrhbhHy8cCCbikxLIfqVEWGPur/RxKH2QhE8Gf3q2vXqLdZ 7RVl9P1DtxaIqQQJRVqxUSY/fQ163/c7jx5/CY4+6cHgi8dexf3s08mqqiFzhvKM40EX D7K2OZyta+RPEyJfFd90d6EODioysWMG+xX/Twg/PzAlWuZLVnCLbMKoKp9vTG40fFGu 1rrhLOhg6gMI0ALJLmU6KYwNSa4I1ZClOzI9H/FNljJfJCbeeS0diqCBOFb3ymWcshYq 80iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vQvhgvlq; 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 j64si4266695pfb.142.2021.04.27.06.31.57; Tue, 27 Apr 2021 06:32:10 -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=vQvhgvlq; 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 S236420AbhD0NcC (ORCPT + 99 others); Tue, 27 Apr 2021 09:32:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:60274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235875AbhD0NcB (ORCPT ); Tue, 27 Apr 2021 09:32:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 790EE613D0; Tue, 27 Apr 2021 13:31:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619530277; bh=x+00Plx6W6j0IA1acBr6uFRCu9IXD7Pjj4h7HJsIohg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vQvhgvlqC57ChI4A4w8gBs4tpF48H2tr3sL3jkMT9mQJ6cW3YzibXarKfsD2AOOOa yHrH2+ILxtCtRVh+9jIZt4irF5jgp7wf0vwE3wRmjvMCjyFggh5StoOKhA+Ey+3mgF I6uLaECHrX5+vQrtrAanvWMEvJCy0oxlSmvsU4WI= Date: Tue, 27 Apr 2021 15:31:14 +0200 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Aditya Pakki , Sean Young , Mauro Carvalho Chehab Subject: Re: [PATCH 146/190] Revert "media: dvb: Add check on sp8870_readreg" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-147-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-147-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 03:00:21PM +0200, Greg Kroah-Hartman wrote: > This reverts commit 467a37fba93f2b4fe3ab597ff6a517b22b566882. > > 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: Sean Young > Cc: Mauro Carvalho Chehab > Signed-off-by: Greg Kroah-Hartman > --- > drivers/media/dvb-frontends/sp8870.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/media/dvb-frontends/sp8870.c b/drivers/media/dvb-frontends/sp8870.c > index 655db8272268..ee893a2f2261 100644 > --- a/drivers/media/dvb-frontends/sp8870.c > +++ b/drivers/media/dvb-frontends/sp8870.c > @@ -280,9 +280,7 @@ static int sp8870_set_frontend_parameters(struct dvb_frontend *fe) > sp8870_writereg(state, 0xc05, reg0xc05); > > // read status reg in order to clear pending irqs > - err = sp8870_readreg(state, 0x200); > - if (err) > - return err; > + sp8870_readreg(state, 0x200); > > // system controller start > sp8870_microcontroller_start(state); > -- > 2.31.1 > This change looks to break the driver entirely, I guess no one uses it anymore. It should have checked for < 0 if it actually cared about the result. I'll keep this as it is not correct. thanks, greg k-h