Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp675576pxy; Wed, 21 Apr 2021 12:06:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw37FpdPIMY7EfKajEhtUKLKIdr9KzzcApy/6EcRB8y6TDnmaF1Q7IUyHPZUChLOKJk66wV X-Received: by 2002:a17:90a:a58f:: with SMTP id b15mr12435342pjq.135.1619031980932; Wed, 21 Apr 2021 12:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619031980; cv=none; d=google.com; s=arc-20160816; b=bE80dhfoCN0vp6MX3pc+nfJHpWqSYWtDCbAeqT3xIw8ZSyeKF1HbWIIGvRRaD+qhUx Gh5A8VmyN6nc3GNrYOJsZtZMQjZ9wPyASOveebzGZVso87AwkktDnZ+HvSzzc4Okmgk6 1dNbA2nkEhW8v3Jm7qebreLS9ahN/xq/QEQwsV7HFAIpTWhtJQDvQ8poTKh56X168QsU fI3bT+SmfrOc8lylaCWX48xM1WRJ4ptYpWLuwABS2mXbLSa4jSFBTCD6jjPI+iDrCqZi xIOrz+y4UDhVbX8yUgNFb2q1iB9OjEN1rsigHquoZPQXIR71vZnHF6nzrwPaZpswi9YL QUhA== 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; bh=RctA6LKdb0lqOquABgKisbXGy/wn0Mt5npxapFuurVw=; b=I5xkNySuQsFeK8tr3MbMDz/t3JizfkHShuswrUTjzOuGMcepo+cSKhiQM+JsJzfkms j7hzCUGhUrlU9PmMb6jw63niXSkd4OEADDUAhQhkPnkut26YyNrSC/E1dpMhxXHR4JNu drraIjSrsxj5Ai2tBj9IAS9hz/rkGVKfE/wFc5996qrUsrMdInyvBW3fKQOtSJFNDeHo daKV9w3p8FXH+Abo1e+lgFKha6Hzxs1LnjLa4mxJ24ypXrbIPfu/PEmLHms2TB0rAQtN zCEZjmRm2LUfOJla7XpFVdRLNYgZlT9ghPPv3XE4B0wogoertAoSsSxqu8Map5+iFC69 jRgg== 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 q17si534670pgd.438.2021.04.21.12.06.09; Wed, 21 Apr 2021 12:06:20 -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 S237736AbhDUO2h (ORCPT + 99 others); Wed, 21 Apr 2021 10:28:37 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:35153 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235193AbhDUO2g (ORCPT ); Wed, 21 Apr 2021 10:28:36 -0400 X-Originating-IP: 90.65.108.55 Received: from localhost (lfbn-lyo-1-1676-55.w90-65.abo.wanadoo.fr [90.65.108.55]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 7094D1C000D; Wed, 21 Apr 2021 14:28:02 +0000 (UTC) Date: Wed, 21 Apr 2021 16:28:02 +0200 From: Alexandre Belloni To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Kangjie Lu 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-143-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On 21/04/2021 15:00:17+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. > There is really nothing wrong in the patch, it was not completely useful but not wrong either. > 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 > -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com