Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp588796pxy; Wed, 21 Apr 2021 09:57:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGr2cZ8XR5Ke2t0ebj7OFg/fwloagl5NC4AXxD9C8Ew4KIwbngT68RoJeWnkN0Alplh/dH X-Received: by 2002:aa7:d3da:: with SMTP id o26mr40030464edr.147.1619024222785; Wed, 21 Apr 2021 09:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619024222; cv=none; d=google.com; s=arc-20160816; b=q8NEApCFsvFFU73pucbe1QVzqk9rbnCi/N7oLct427a+3Sfg5QlxqZSH+rWGKLjGJm iGMLDPkzz4LgKbVpC+VCE08eN1PZddabbolkoJxc6XuzfQntZzn+xmvRLIlqkXcpA9pq vcBYuqWzeQ5H+3lM/++fZFpEWL+/dUHFnXVy+bFNlHB5UBPMoxLXFH1XEbN/iFg4x97j +QaQOLnKTH8Lw3VBugx/w3n/sEigbkinsjqd8hbcIRsyBWztFPW906HlI5Ta037gE2Mm UrV8m1VpogB1n13WU08q5a6VT+1kMNwvh+CeRbtYUVirmigTTT29k4oBUVDzhOfqW7tN jgyw== 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=CWeL3EO7jbb8c7zmDSrGC6PPdQZi7UdMSbeNoiDA384=; b=dV+ISfMQmT8aUV1mPsoBLzBatGYuQBOB3J0L6LwUB2aEG0ZiEu4khBeTOT0QI39VlN PYuXCWiWsjSL1zVPJF8pxwkiNJnP0GkfYFsGjO0XXk93uypAPxX0O1MHmcN1IugN0qrL m5nabhAWJZi3yf0votyX8kq5s25uIu7JR6WXBKzAloexLUTOMMBlGMvvDqd3f0uJ0ph3 Psk6LbbqwyX16rXaBpnr2S+BDrhpjz0aTgFvAVy57mqvUXySNrnmFbjTLY2Q8wZlrOMr srPdD64zQKdYmyqbvVpDNlon5SmIOgyOIWH3v8Y/jXtCbmU3+zuooReugdKLFUqiUXLJ 3kFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tztBDrqo; 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 ml24si2402675ejb.7.2021.04.21.09.56.39; Wed, 21 Apr 2021 09:57:02 -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=tztBDrqo; 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 S241571AbhDUNRq (ORCPT + 99 others); Wed, 21 Apr 2021 09:17:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:47824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241383AbhDUNIR (ORCPT ); Wed, 21 Apr 2021 09:08:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D09E56143B; Wed, 21 Apr 2021 13:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010457; bh=6ZaWGuJG+QrHosbsC7owRywWvxO+N87Jjcjj+DYnNu4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tztBDrqorb7/0aoDqXGerZDHO+tZqepv2LtsYcrb+/ItWfCgD8X9sMuQcaVgGTAJr zmPkdmNWFk6k4AZ0WkdRE9IjBvLBHAGQEx3tUTKn/Rtc5FIXihYRZX0BriSB2NVjSX KGmE1PvjF5xD/Wd1gVEYETNexxFAgnhU2kyJBCv8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Alexandre Belloni Subject: [PATCH 142/190] Revert "rtc: hym8563: fix a missing check of block data read" Date: Wed, 21 Apr 2021 15:00:17 +0200 Message-Id: <20210421130105.1226686-143-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 9a20b5e35a536d6bb4b2d4a3b14a0457e205356c. 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: Alexandre Belloni Signed-off-by: Greg Kroah-Hartman --- drivers/rtc/rtc-hym8563.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c index 0751cae27285..a9d033eff61e 100644 --- a/drivers/rtc/rtc-hym8563.c +++ b/drivers/rtc/rtc-hym8563.c @@ -94,8 +94,6 @@ static int hym8563_rtc_read_time(struct device *dev, struct rtc_time *tm) int ret; ret = i2c_smbus_read_i2c_block_data(client, HYM8563_SEC, 7, buf); - if (ret < 0) - return ret; if (buf[0] & HYM8563_SEC_VL) { dev_warn(&client->dev, -- 2.31.1