Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4560004pxy; Tue, 27 Apr 2021 07:46:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyf2aBywhhJUT3vgIv+LNXGv5dTKcLjc+3chZzMMjR8Kb9XWRz4KabGNa3ZDiwMIX1uJKXo X-Received: by 2002:a17:906:4119:: with SMTP id j25mr23837056ejk.459.1619534817612; Tue, 27 Apr 2021 07:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619534817; cv=none; d=google.com; s=arc-20160816; b=t3HA+wdxy8QZkrBdeou73QH0RrWvKMkU1fAG4Sh0SIm9xKiISnAxuaLS5JKOUplqjQ Fn9W/dKsniJVi1sfJfNcDtqo7NnniLCj+oQAN5DVYGVua6Pyr4yGQtg86Oal+x1XoW4W XNhCXAHliot1jFUXKHLpoP5K9uvFqiLfATPO/K7KjpW4i0ms94Yb+Vqm6Qrdk+KuaF2r WzyfrwkQmT59Q2gbi5OZxFRzG/+Fcuv1SITtkJXt9JDZRct2ECqYZBPggzclU20pRs4m eD2+JO5SKRUEB7n0beYHx0ftINPoD0DvYHNGKKsCz8qXM+yqrf8uv+Aj+d2Ogn4gxXQH dnjQ== 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=1tv8mtbyPziIaehbO5cFHrWI10ZPGa9ZwJEVon0CN6M=; b=qqTezyQmGCPdVilGGuxvaoKy5AELcA8v7cH+zaz8AhLu5ZxMD5wsaQRtzb2O/simvB 15anp4U8ALLhQ2RmBsiVzoGWaGC44JYsCByzZcJtw27m4/D77VCjIT2gKp2mHTesyUMu SP93R5JPgRFD0ZTuPeOR52/zXlL2EMr0N5xS2s55eUXyBQsS12uGKMQV7L9dZlJZd53I h8avU8nZLeBGbXWxgy0gNaDj8a/ZIhU1XshOPqXy+mjcLcael7a3ToG/C59JUYQacoZF DyPvlfkBrdgjiS8yPFCLBjPXUkDymZVOiLB4xNAxkw1ooj9upEOuTjtdOrckUgZJKsPu uC1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=S21Cv9er; 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 r17si2768532edw.273.2021.04.27.07.46.33; Tue, 27 Apr 2021 07:46:57 -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=S21Cv9er; 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 S238362AbhD0Opf (ORCPT + 99 others); Tue, 27 Apr 2021 10:45:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:52482 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236368AbhD0Ope (ORCPT ); Tue, 27 Apr 2021 10:45:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DFE7B613DE; Tue, 27 Apr 2021 14:44:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619534691; bh=y7xQg7HUcHp/PFyrlJy5tkwrF8u8aIer+/KELjpDzZo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S21Cv9erKuQfMVDjms63ZFmiUL2LSyJaBJJiHLmw1rc+QBuyslFF9dGl5pD0JcjNs 11T963yCL70QNjYm9u3TnYxrQ/MdJYETBhzW0wwQh+PNbnVxualKzaI55Bxnh3c5Bq CQPZuaPomdEp6DNn6ocAGZqSbjS2I0fTbO88pAFE= Date: Tue, 27 Apr 2021 16:44:48 +0200 From: Greg Kroah-Hartman To: Willy Tarreau 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: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-143-gregkh@linuxfoundation.org> <20210421142831.GB6631@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421142831.GB6631@1wt.eu> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 04:28:31PM +0200, Willy Tarreau wrote: > 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. Thanks for the review, I'll drop this revert from my tree. greg k-h