Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4073582ioa; Tue, 26 Apr 2022 16:33:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG1GmOvIDSeuADKXCXC6XKG8nEameAlSzmhE1/a7dgskBfUAJBGAAUh0aQH6QOU8zgAznh X-Received: by 2002:a05:6a00:1f11:b0:50d:3cdd:5e07 with SMTP id be17-20020a056a001f1100b0050d3cdd5e07mr13986614pfb.48.1651016019713; Tue, 26 Apr 2022 16:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651016019; cv=none; d=google.com; s=arc-20160816; b=nlY5B6NIO1qCsWKN1rcVCPokOTvoWRcMWxVxqM3ZB/7Gilqyf4ADlWiLREOvTCUFmy 3RyjAw74nR7s2wRcmWSSv/YEKXR5bEncu9zDcbn1kkulmU7Hr5d7K4omc1BAm1IRaMo4 kkJHWi4yOBDJVxAlp5jEuqXsZzkFQyGXdK5c9VKVqQZaI7mQA2nQ0N080YKnMMLc1W9W /iLhKVfCCd6knSRLKZjUKkX0VCZZ8xPy5rq3zSjhfWA/1iOYzmnxWxwktKpPaBPhZyRa WPlG+1YSwXxFuf0wPr5dGFVLxL95cVXAXoq6wQhux5JKPlQQpUHmBtlSMA69x/D8D5yv FVZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=11sZUzwOjgs+gqwyNHC5h0Ql+65wp5IZuERrTmCmbK4=; b=G4MttvP4wQNE8q/NH1QES1MV/8ALT9TCEai5h5Bo5hQAOwsfdXMIhWQygiPIL7tsHx KtAeYY9c0QufumEnGgGHKR0fTe1+Oy5JgEeYXt63/qHsVY6EJ1ebx0U0jtF1eOG+woBm EKD63MlKx8QYllC/vFHPLxfc2MVGBy5dZn/cEquTGtZWlwABQaXxSCpeRPD4DxpL6J2d V0MNXn5ynL5JJYdHpoVUZqrth6SSD+JfosVHXglBiO0PYr2BrOokq1YkmUTlWwbrtK7f VbJf5zwcGytbIZiO2iV7oR7tUSgneI2ZV7PKrkctuTLCr1oNHExKRtfdLnKnsmCsl70O Ft8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=pG0nlL6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a170902d70800b0015866d0026bsi19735587ply.575.2022.04.26.16.33.23; Tue, 26 Apr 2022 16:33:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=pG0nlL6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352504AbiDZPtu (ORCPT + 99 others); Tue, 26 Apr 2022 11:49:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352485AbiDZPts (ORCPT ); Tue, 26 Apr 2022 11:49:48 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BB43DAFC2; Tue, 26 Apr 2022 08:46:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=11sZUzwOjgs+gqwyNHC5h0Ql+65wp5IZuERrTmCmbK4=; b=pG0nlL6azQzK0tOk/EhPcANpAo VJqakP9gUhg8WYAEcFCLAUouzbg0YDBYr3chOxbb+Jp1PbU3TTG7KI6OAS34vhSElE3jViDq+njUS Sa7LT4uI14w9kJKyFd+IJrjxcdPsEvEV7GiwiLhtnbasXwTrLa/uP/gVVv4sZBr4DQBg=; Received: from [217.114.218.26] (helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1njNOe-00013r-7F; Tue, 26 Apr 2022 17:46:36 +0200 Message-ID: <14c5ad61-370b-bcc9-c41c-45312275a0ff@nbd.name> Date: Tue, 26 Apr 2022 17:46:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH -next] clk: en7523: fix wrong pointer check in en7523_clk_probe() Content-Language: en-US To: Yang Yingliang , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, matthias.bgg@gmail.com References: <20220426131539.388382-1-yangyingliang@huawei.com> From: Felix Fietkau In-Reply-To: <20220426131539.388382-1-yangyingliang@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26.04.22 15:15, Yang Yingliang wrote: > Check the real return value of devm_platform_ioremap_resource() > in en7523_clk_probe(). > > Fixes: 1e6273179190 ("clk: en7523: Add clock driver for Airoha EN7523 SoC") > Reported-by: Hulk Robot > Signed-off-by: Yang Yingliang Acked-by: Felix Fietkau