Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1120702pxy; Fri, 23 Apr 2021 00:11:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4WHmBu9TegzIjfWiZZXJjv1f+ZpFKRImb2rONwES8m61mMmr02QB7o6kQMtRZmjX2dSsy X-Received: by 2002:aa7:93aa:0:b029:25e:31ca:756f with SMTP id x10-20020aa793aa0000b029025e31ca756fmr2673679pff.70.1619161900580; Fri, 23 Apr 2021 00:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619161900; cv=none; d=google.com; s=arc-20160816; b=ZZJD7UizRn23fUPNOSZ/aWPeOYFegOpqx0SO+mD2dGQr3eN1hFJ9KHOmQpHX0ck9pb 6JxYXq9JrjN2iBOG7yyvq8AL4HQU2Zg2w6YSBnWntMb2fQcxqIEsSitBWPfFkuIDMgtY 3T29OuBKjNplUL5PtqCwjlgMklN6BOE1ecB47VWfLHnZ+3rbACaZ7QDrW4hVyffXM8EM ttJfVXUXdZfgYxsBEqG+vluXGt6H4TGXvsJtpFZA9xmelSSN4gJ0MvmdqOfh/EEgR12P pkPr9WIAbRJcYSve53LFM/kCc3A1Hkkn4UrjmV/6QnDsltFJ06HtoDCxq9IGD5PDFZDn U4ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=16r9DssXKUC9HdkrZg3Sm4SlbqGPCpv9BtQcvqu4Nqs=; b=Qhj9Ae1umuKmUm7uR8hCrSPALn2+t/rSlFtBYXoB71QqcE6NQuqJG+HWXBY1JrIAMO fym3QDPFUNpnMI+eoK2GNNHZh7bCCOOfxdwevCbP/5ZFiSuTd/LJD+I3qmkmmT1ppRAV HTc0thSzxzISPBuRYiHqykEIZvodv6hqFhXc0R18xrAH9ZOw274YPJn8sCFlpWGqOtd3 5hIztwuHovB68ofWML/MOxHgKYt26Z+4iRt8t/TH64rXEH/qokXzpNRWUhmIIA5ndw53 rqUtKtzAyo3bv6aD/Ho+GIWl6uTavSqIn8yy9a29nklBWX7lZRjHTmovhRLJD1UtuKUw izYg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mu11si10230343pjb.2.2021.04.23.00.11.27; Fri, 23 Apr 2021 00:11:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240882AbhDWHKB (ORCPT + 99 others); Fri, 23 Apr 2021 03:10:01 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:36383 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbhDWHKA (ORCPT ); Fri, 23 Apr 2021 03:10:00 -0400 Received: from mail-wr1-f70.google.com ([209.85.221.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lZpwJ-0003Qf-Rb for linux-kernel@vger.kernel.org; Fri, 23 Apr 2021 07:09:23 +0000 Received: by mail-wr1-f70.google.com with SMTP id f15-20020adffccf0000b02901028c7339ccso14746224wrs.1 for ; Fri, 23 Apr 2021 00:09:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=16r9DssXKUC9HdkrZg3Sm4SlbqGPCpv9BtQcvqu4Nqs=; b=B2+ZVljCeXb91NPEdpX83K9Yi/Hy0TI9az9L7Nh62W50doV7wq9do1uJTBhGGa+x1x 2j3UyiusQWi3hRovEpUTazbpOlEs32a3llCHqNsnT+Dfstmg2rC5Lm4eJZN5KumqDDIL zest9ntjQ0wtZHOF3lQ1MNzH8JKGl2hsE6/9h3V2FbxeZ1t0DI78e6RF5WNkjC21BCk1 leJtExR8qpN5Eh0rJ9SqVxsGK0AXMvVxpul99bSiaMNjlobHtK75sI7WXb8kP4/5Y5sI lvPG0bchGKN7eBezIBusiNhJ+XT5lqDWfjJPiIK/XbNpvWojXcbS/DurQQe/tLhyIJTR eEJg== X-Gm-Message-State: AOAM532PvTymL6fQ/aAOBIH2L8Xe2hBp9CYpXWKSng51093K/FmVTeYs UXcfmnAd67SBD98NJH7YjcrDBPu36agzvtJfa0oZ7qWA+J9JDEF6T4yx8YmpxdF0iTyu0YtThaK SM0z0efUrgYa53AHSdHQULOZmrDauLctXfgGMNl2cpA== X-Received: by 2002:adf:d1c9:: with SMTP id b9mr2830891wrd.352.1619161763187; Fri, 23 Apr 2021 00:09:23 -0700 (PDT) X-Received: by 2002:adf:d1c9:: with SMTP id b9mr2830875wrd.352.1619161763000; Fri, 23 Apr 2021 00:09:23 -0700 (PDT) Received: from [192.168.1.115] (xdsl-188-155-180-75.adslplus.ch. [188.155.180.75]) by smtp.gmail.com with ESMTPSA id h9sm6756062wmb.35.2021.04.23.00.09.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Apr 2021 00:09:22 -0700 (PDT) Subject: Re: [PATCH 054/190] Revert "clk: samsung: Remove redundant check in samsung_cmu_register_one" To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: Aditya Pakki , Chanwoo Choi , Stephen Boyd References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-55-gregkh@linuxfoundation.org> From: Krzysztof Kozlowski Message-ID: <05bd90cf-e761-9ade-388c-7b78a0ed716a@canonical.com> Date: Fri, 23 Apr 2021 09:09:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210421130105.1226686-55-gregkh@linuxfoundation.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/04/2021 14:58, Greg Kroah-Hartman wrote: > This reverts commit 8d7a577d04e8ce24b1b81ee44ec8cd1dda2a9cd9. > > 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: https > Cc: Chanwoo Choi > Cc: Stephen Boyd > Signed-off-by: Greg Kroah-Hartman > --- > drivers/clk/samsung/clk.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c > index 1949ae7851b2..dad31308c071 100644 > --- a/drivers/clk/samsung/clk.c > +++ b/drivers/clk/samsung/clk.c > @@ -356,6 +356,10 @@ struct samsung_clk_provider * __init samsung_cmu_register_one( > } > > ctx = samsung_clk_init(np, reg_base, cmu->nr_clk_ids); > + if (!ctx) { > + panic("%s: unable to allocate ctx\n", __func__); > + return ctx; > + } Hi Greg, The commit was fine here, so please keep it. NAK for the revert. Best regards, Krzysztof