Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp567504pxy; Wed, 21 Apr 2021 09:26:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlUvL2lyyUNYbHIgpFayfvouVoY/7UE/VHd3g7+l1u1v9eb66gUO6sjiw6gTSU1C1iJxz1 X-Received: by 2002:a17:90b:4b86:: with SMTP id lr6mr12077225pjb.77.1619022407862; Wed, 21 Apr 2021 09:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619022407; cv=none; d=google.com; s=arc-20160816; b=QfHMD2HW7Es050Qly1G5HVfL+V0rx+34tsIvUggcHrrhXNZPYROgedys+TsyzMqzMq a5TtrQt1qmWjIdBW+GPxAie8C+FBr8VB1N8KVM2LSHycp/dKstDE1aHd0krXasD6blEA 4waVtJgOx+HcqBXNO+8Cam+ulwSfHG/EfJyHTWrhaf0FBubTxxVenmam3QuKLNUs72HN SMvGyIFwvkYtS6isHt5ZUuIgtgwPykh+IR+w3K5Nd1XRKiaZ/FCmzC3x4icb3W4hxrmy jhyXlJtJxYX2lsGrVvKKQGl9IyMhg38a/kckCVrsts1aeaetROabWxLXFKsppeaWdjw0 j6CQ== 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=UAByZCqlmW8WFsA8s/2WvXCpo6EgZarqKybwJcY/450=; b=mzPEROU17JeThXt7+3LSPAlqkkow1VktHlz1X1N4QRchXgiZviKwAAD89WjuAl/10m pr8T1Q7he1j/5boNbp2ygkc483zBXFjdhYnuHXH87kvRqgqpqASUoYOq9lyFe4+UJys7 OE7NvyyiB07LPoYDTge8evgPtRxA+1VimFyTsDGRD1VUEx43WpBHzqU13fowA54xQSx5 vkC+kU5YWsjBH439MJ8PJ7OazQbtr0cEOdnfIIAeGVoQdJMw9vSJ7GhA2yydFalX//de X2pruI+D4ja5bntw+UrlWhvLwChZHOaA9U8CkXE+tcLDkkC0JIfkC4S2nOYuEJW/pDjR vOkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UnVzDtvZ; 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 d9si57177plo.15.2021.04.21.09.26.35; Wed, 21 Apr 2021 09:26:47 -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=UnVzDtvZ; 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 S242264AbhDUNO3 (ORCPT + 99 others); Wed, 21 Apr 2021 09:14:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:52246 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241915AbhDUNJb (ORCPT ); Wed, 21 Apr 2021 09:09:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CED0B61458; Wed, 21 Apr 2021 13:08:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010538; bh=FHFS3KLl9FS4rtJDQct8uw++rnrMB+K7eCyNwmiwq4U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UnVzDtvZkilqmqjux3U5v5jxJf1ycLsebU4QKoGwmeldgjET4nycSNoZkdKSjhQuZ EymeyVpeuDVUkBkaglW5uQAiso0ldIeI0RzzEZuqvPHEbygftcx4plev+MfU8PkkPv mJyqlG0PNvFTChbAMipxBo66lTUfv4zZtAW6Hg/c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , "David S . Miller" Subject: [PATCH 172/190] Revert "net: (cpts) fix a missing check of clk_prepare" Date: Wed, 21 Apr 2021 15:00:47 +0200 Message-Id: <20210421130105.1226686-173-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 2d822f2dbab7f4c820f72eb8570aacf3f35855bd. 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: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/ti/cpts.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c index 43222a34cba0..60fde1bb9665 100644 --- a/drivers/net/ethernet/ti/cpts.c +++ b/drivers/net/ethernet/ti/cpts.c @@ -778,9 +778,7 @@ struct cpts *cpts_create(struct device *dev, void __iomem *regs, return ERR_CAST(cpts->refclk); } - ret = clk_prepare(cpts->refclk); - if (ret) - return ERR_PTR(ret); + clk_prepare(cpts->refclk); cpts->cc.read = cpts_systim_read; cpts->cc.mask = CLOCKSOURCE_MASK(32); -- 2.31.1