Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp49691rdb; Wed, 18 Oct 2023 17:53:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHiayfn753GSoGPJ6AqjI08GxFaUvFszjQWwO9UZSZtIqG4F/gE58Pm62TQhEOPOYgdaY+7 X-Received: by 2002:aca:1902:0:b0:3af:983a:8129 with SMTP id l2-20020aca1902000000b003af983a8129mr756315oii.53.1697676829923; Wed, 18 Oct 2023 17:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697676829; cv=none; d=google.com; s=arc-20160816; b=jgmLgMg87P9fePL9gT8A71gVnUStjSYNASt2kBmrv+IVUy8RTkGJXLlj4m22ddAHr8 R+HRjm/o9QKa1Xi+s8py867sNLFieUcuvn3RyedQlNnmD3wTR/6r32Bq5iKCQTZJhkF2 8X74hn4QFsP1l6nn93DJm+OuPYByS3l54uhp5gDaFVKIsCObQCLI0pKTeNXo4CZdEXho QmrTPAuxOk0dqlUfUbUTAeB2ca9Z6MDByJkNc5zQYgQK5YnZPgOUbPHTtPTG1tISua9j VabvBN0WsD9OzDQcS45gZMh7jopgu4QUv8rO2EWh256tKEMh3KUQTI0WJyMSuyoTb/Ww QM8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=MfXQPxiGwi/46rTiWI2Mh2Ux1uP1SM51S5rNyyaok1Q=; fh=HnLdphHaKg9PZufBuI/pP9Fd4tXI2YGrO7NkQwjKIhU=; b=oH+SzA281Z7eo52IjS/v7605+xFAiSjSx3lvOvg4yb4pschZJ3cKLmynNNq3tsYs0n 8okHSXPAnVJqK7K9jNMh1+hLBLox8SjHfcbwTh73iJaDTaCV+pjYijSUMyCa8LQpoNGX gUfoCGf1NaABGLjXmlLpkD5rexiAODPLJxgk92jbJD1XF7zn4/sMkht+iegEBs9DJSpG 9360LREUNYXseOTe0ufahf37DAbQptipr/V5Y6DjEv/U0IGkY7gnQgPlFeeaxiMFyfRA 067yVe2y0rrdmRC+5sjM5T/oSVxIb3DrLYDlwIP1E0nxbBEuUits12PZDnHvWv/nno1u d9ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gULiuu8Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bv125-20020a632e83000000b005a1d88169casi3119035pgb.189.2023.10.18.17.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 17:53:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gULiuu8Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 089178258FD9; Wed, 18 Oct 2023 17:53:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231828AbjJSAxP (ORCPT + 99 others); Wed, 18 Oct 2023 20:53:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbjJSAxO (ORCPT ); Wed, 18 Oct 2023 20:53:14 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F02F113; Wed, 18 Oct 2023 17:53:13 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64889C433C7; Thu, 19 Oct 2023 00:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697676792; bh=CEQdIpYGiXQ1Tk7MRzCm63RnC1FrMtAZVv/NGqOXQo8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=gULiuu8YLZe0MpC175uhkmbaVC1wD27JwZpDeaJcpCo/fkwThsCHTxqjngljeCq+d EeL9LOe9z/asi2QvcgORfUvTGMDiUZFKeSAUt3vhVppIGe7uBmFbFy90FXMLYYesWn dqjQTjN5ieeSQx3s9Q+WfO1FBL/fEc33dJgjv4KTej7EtLIKDWT4srLX8xAgQG12eW z9p3TKWJ3tktcqP1xq0qrG+bicLQtYGAR1m9MxXwbVx8lp9NGa3gl/N8L24CYd3I1S 6umkzHoXVrO0Sytmzyg/8q/Upfun/oxOvPseIcoWRc1Gpj7RoIDrHxDYs1/ez+cI4s LiFlPU3yVE4Gg== Message-ID: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: Subject: Re: [PATCH] clk: keystone: pll: fix a couple NULL vs IS_ERR() checks From: Stephen Boyd Cc: Santosh Shilimkar , Michael Turquette , Mike Turquette , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, kernel-janitors@vger.kernel.org To: Dan Carpenter , Santosh Shilimkar Date: Wed, 18 Oct 2023 17:53:08 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 18 Oct 2023 17:53:44 -0700 (PDT) Quoting Dan Carpenter (2023-10-05 07:01:57) > The clk_register_divider() and clk_register_mux() functions returns > error pointers on error but this code checks for NULL. Fix that. >=20 > Fixes: b9e0d40c0d83 ("clk: keystone: add Keystone PLL clock driver") > Signed-off-by: Dan Carpenter > --- Applied to clk-next