Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4424029pxy; Tue, 27 Apr 2021 04:56:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyb8j+GbBR9b2u6QwcRnmPUBJfgLs69USHw+6N+HVwvtfywuuX4NyZW6cJkrsM/ET2cvmoB X-Received: by 2002:a17:90a:f298:: with SMTP id fs24mr27379110pjb.129.1619524602720; Tue, 27 Apr 2021 04:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619524602; cv=none; d=google.com; s=arc-20160816; b=k8bTKUTjeNdQhYIEKmecXurWSvPUFRptvw6iVITt5sXUHVyKdwzq30ULeYl/1scJDt Wf/UvwP64uwOll8zP0XOJcl9SeJb4xG3y5ICLy1QDX+S1HU69YrkzGf5uKKXo9mKBsSt rSFEMds8kHm1s5Let9b+wvcGzcAxV/fHGWpfNSC8aiBIAPZdAYcdcRqAC+o5nyBlBTys gYoFb7Eb/dxKtAGSW2zEdVal1/Pn2nb9VYwGWSZhG68uhQZCnBfWp+a1MMYfM18+vL5z o2LCr9yg61I+K+yTX6soWPKyNaSkduicYAkRnA/aYws0bOoawoSSEWdqS/KQLh8+RTHk tSbQ== 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=Upwa1VH64KBaeiGEUe+KWuj9jXOyNw+Bj4ITO2WzY80=; b=QS9EIpofD8ZxbyVMUyrqCDkUrvOrZzRhEyQqbROdgUk3W4E6+HfM/0OMVBt+eDFYzD Hk9rzqKw5+jMUy93aE6L+2GcqZdVqxJIS/vKl7/RAjrdUAuBNsMwea3G6koHuc2pMfdw ntvveUPHhgR0UTJFvgjou8dKGIOmGWZVrLJIWG+m8F5FIyERJ5SGw+QXyYeXWcalMfW5 yqSyq1F35gZSykN3kz29OZ9GwsmcoWGxPYP/7SJvrzKI5nECplLGww+SNAe6/yqAR90M nWGO+zchEZba1tytMwsENyPSIS+Fd7Q2b8R62uegVD1i1u+mR57KyzS+u5SRccME6Mcq rmNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zzBXUjAl; 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 r6si21083216pgj.502.2021.04.27.04.56.29; Tue, 27 Apr 2021 04:56:42 -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=zzBXUjAl; 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 S235428AbhD0L4k (ORCPT + 99 others); Tue, 27 Apr 2021 07:56:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:59352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235391AbhD0L4j (ORCPT ); Tue, 27 Apr 2021 07:56:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 90610613A9; Tue, 27 Apr 2021 11:55:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619524555; bh=P+rOWYIXa4dBegWeafcgg7ZD8svF+Lxp51tn05LUsIc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zzBXUjAlV4VaujpQXgGAjeA2jozGYjLhImZ3jpLphPSgODQi7hM0pqYPlcOYCMMVw xq0RH5tqwu8i7UtHNJxvmmz5PLoxr00fi/fhaoiT0Td+b9KuE77bQFl/VsA0vPys+G 0pqDYx2PUiRhs8xzuZnkx/azhNxCl+ylOZ3U4mig= Date: Tue, 27 Apr 2021 13:55:52 +0200 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Aditya Pakki , Dan Carpenter Subject: Re: [PATCH 161/190] Revert "staging: rts5208: Add a check for ms_read_extra_data" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-162-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-162-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 03:00:36PM +0200, Greg Kroah-Hartman wrote: > This reverts commit 73b69c01cc925d9c48e5b4f78e3d8b88c4e5b924. > > 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: Aditya Pakki > Cc: Dan Carpenter > Cc: Greg Kroah-Hartman > Signed-off-by: Greg Kroah-Hartman > --- > drivers/staging/rts5208/ms.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/staging/rts5208/ms.c b/drivers/staging/rts5208/ms.c > index 9001570a8c94..37b60ba1bdfe 100644 > --- a/drivers/staging/rts5208/ms.c > +++ b/drivers/staging/rts5208/ms.c > @@ -1665,10 +1665,7 @@ static int ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, > return STATUS_FAIL; > } > > - retval = ms_read_extra_data(chip, old_blk, i, extra, > - MS_EXTRA_SIZE); > - if (retval != STATUS_SUCCESS) > - return STATUS_FAIL; > + ms_read_extra_data(chip, old_blk, i, extra, MS_EXTRA_SIZE); > > retval = ms_set_rw_reg_addr(chip, OVERWRITE_FLAG, > MS_EXTRA_SIZE, SYSTEM_PARAM, 6); > -- > 2.31.1 > This one looks fine, I'm dropping it. greg k-h