Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp583872pxy; Wed, 21 Apr 2021 09:49:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqGEHrI6/jH8LkqQxh8e2WlZ9UngxV4r0TCeCzVJ1WL+CyT/hOJMMRTu9Hp2n1SjNytaYz X-Received: by 2002:a17:903:248e:b029:ec:9c4f:765e with SMTP id p14-20020a170903248eb02900ec9c4f765emr20648645plw.17.1619023792690; Wed, 21 Apr 2021 09:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619023792; cv=none; d=google.com; s=arc-20160816; b=E/blAUcGZ7/RQ3f/MskuMUJUxnPTXaGj0u2PAlLLANevnySl7W8jKTb8QvZuEtTavq MbZRIrgaGUfJ5ioKVWU8viMfVXz3i7hmu0KfmQOD0aVyk0bcKt5AytXX+gTKvzfAxsuD ZV9oSAqsbsjdxq8tvXSjyfvf1wTneK184h65umPFJNUKgsBQwyjIXqX/DIYIGHS5tOb4 1HgmgfhcYdroS326IhOLKz7WkSwh6piCssyINOVexzk+WbrUQfunCSRs/bY24IEQFvO+ fuG41SPRwNUZITMRBD07N3O3cF4ESw2UdLaomDBwpboMnCar7cnkXmD4sY3vy5pLCkhf IieQ== 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=0o2uo5n8f5vjYFH12HEVb7UHQbyfP2xXwHDO8WDH3gI=; b=Ny3CIVQJVyEuPptxbezpw4vF/GxZMkIio5OpbSvUJhW1cW602WyTk921g7fBaj3caL 4xbvJXnughSBEOQf8vb27oU/8jCKo/3MBja5mhlfcTQcSMCphUvZ1UrtPskeX6qkeLJ7 v57T5rRwz0r63sL1lnReCggMn7Vhi0grXA6KU0kML2b6V/cZspB3B+VvB4KmOmy6QMym 4OTeJUApiW8owzmMdTYlxGcULrveCZ11ORePthkEtAtX36H0Ye0ccJjID5BXUwUmCdP+ GMv6dRXGXY2ar/ZYEyopv9E+PYKKF8egfET6Yf5i7GRVoJI84UT5C0ZgvQLl0qOrPD0R ic1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=eALUEUhL; 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 i16si89404pgj.452.2021.04.21.09.49.40; Wed, 21 Apr 2021 09:49:52 -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=eALUEUhL; 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 S242833AbhDUNQN (ORCPT + 99 others); Wed, 21 Apr 2021 09:16:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:52158 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242340AbhDUNKF (ORCPT ); Wed, 21 Apr 2021 09:10:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C43176143B; Wed, 21 Apr 2021 13:09:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010572; bh=v8XqbaWDsCTh/eqqJjgZUGkLkeNt2H0yrxWwioMDIvk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eALUEUhLzVil8kHOxCrj7yKOwvNqxs7iC0OxZDiEAKmGBVb6jzrJOBGrpjJOgOC7l Vr0Ez6xi746XxhKQqGL10rKsJPgdL6Wu7Ohkc3eQmeGgT41wod8Sj501k1wAcT30M0 61NsTeZNzZZ3C0aGkxumgTz2DofccDe9MMC63Sbg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Sean Young , Mauro Carvalho Chehab Subject: [PATCH 149/190] Revert "media: lgdt3306a: fix a missing check of return value" Date: Wed, 21 Apr 2021 15:00:24 +0200 Message-Id: <20210421130105.1226686-150-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 c9b7d8f252a5a6f8ca6e948151367cbc7bc4b776. 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: Sean Young Cc: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/media/dvb-frontends/lgdt3306a.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c index 722576f1732a..f34263a33ede 100644 --- a/drivers/media/dvb-frontends/lgdt3306a.c +++ b/drivers/media/dvb-frontends/lgdt3306a.c @@ -1690,10 +1690,7 @@ static int lgdt3306a_read_signal_strength(struct dvb_frontend *fe, case QAM_256: case QAM_AUTO: /* need to know actual modulation to set proper SNR baseline */ - ret = lgdt3306a_read_reg(state, 0x00a6, &val); - if (lg_chkerr(ret)) - goto fail; - + lgdt3306a_read_reg(state, 0x00a6, &val); if(val & 0x04) ref_snr = 2800; /* QAM-256 28dB */ else -- 2.31.1