Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp701184pxy; Wed, 21 Apr 2021 12:47:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHnsGo3M30q94qLd9qwhPcJQaHVXCTtT3EWpNVSyG0xg4xtvFsrP4XxpypqnG1v66v+Gnb X-Received: by 2002:a17:906:ca45:: with SMTP id jx5mr34896122ejb.417.1619034448358; Wed, 21 Apr 2021 12:47:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619034448; cv=none; d=google.com; s=arc-20160816; b=fe+3KLv1yaoc2THiHAgV0kJgkcT3uYy/Dui2amT+VzAj9DGkKFbc3vGh512bLI0llP FnqbSh76KGrefc0WIV+eGKZ31XtyZTGnYiomoG+osknZAeCe0p106VE/7F0VL6388wol AACPWqV/2ZknU6clLwMBq90qqV/vo9vO+CURK8pjMpoFVttB8YpkZIHuT9TvmQmYo36z Z/ibOX6ugnLDBmljoHMqwNzVxPmcJdaZf6GUmK63T138SQDSvVa7VxtzhsEyt182GwSU mNYzY0J7QTZTFrrAGTFvdW6JRlFVOf30wN3GN8Lapwy3jq9r7V8cIOfyO8He3p4ZH/2a vHhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=0j4edK3f1Uj7sybAzwvnHl3i3AuP5HD9RSCuYRUIR9Q=; b=sUnyd2a7jLTNg6FQj09FQ8V4EaLZYXBqfFON3ntEJ6gHtWgdMW/t9kVqxARcVHjDYX Yg+dSHs3L0/k/5VAHvJAWSLefN4FHnarouGBmXfeZEW17C9uwFXnUAtwvQ30pRPkdTEQ vtzoB2ux7SpnrGgjtHFqO5v7sG7dNRBy/heJsI8WOsKRdQfsQ2Hd6nsvkxNt1qnUAjX4 00zgVm5GWvPnAHSj4Vt04Oz9nbub1kGqd2zLsEX7m3dvqu6XjUQF4oMcX5TTP9gn5c7y TyBeSbUlwBn+XoAkxD6Kg3Iipo3zYmHHFdnZFOq8vxxFtZLCXVYb8cqTFgWj+HLAqrhe ldoQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si278126edd.79.2021.04.21.12.47.04; Wed, 21 Apr 2021 12:47:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243546AbhDUO3Y (ORCPT + 99 others); Wed, 21 Apr 2021 10:29:24 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:51975 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238173AbhDUO3Y (ORCPT ); Wed, 21 Apr 2021 10:29:24 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 13LESVGi006924; Wed, 21 Apr 2021 16:28:31 +0200 Date: Wed, 21 Apr 2021 16:28:31 +0200 From: Willy Tarreau To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Kangjie Lu , Alexandre Belloni Subject: Re: [PATCH 142/190] Revert "rtc: hym8563: fix a missing check of block data read" Message-ID: <20210421142831.GB6631@1wt.eu> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-143-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-143-gregkh@linuxfoundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 03:00:17PM +0200, Greg Kroah-Hartman wrote: > 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, Seems like this one was a valid fix, and that the description matched what was done; plenty of other drivers also proceed similarly. I suspect it should be kept. Willy