Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1277576rwb; Fri, 7 Oct 2022 10:15:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5FzCrYdIiq+vr3kG6zgxrWkV4kgSD/bXG6UBAczGDV/V7nFwJYdTlZKv79MrCf0/jA6rbp X-Received: by 2002:a05:6a00:f04:b0:547:50b1:4f4e with SMTP id cr4-20020a056a000f0400b0054750b14f4emr5966454pfb.69.1665162959524; Fri, 07 Oct 2022 10:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665162959; cv=none; d=google.com; s=arc-20160816; b=ehMsNLWpQwTcHYHMIKoPLlAT6O0npmoE+eakNf4Udy8R4V77vdQ4QlEd1jKkf0x0Ul sVRxGWj596C45GBoTWpM83unDki16kiDJUCUhA5Yw2f40qEgWAMVORIpuzIp5w+snDle pSPKje7bANsTF3QcieSNMuN5/ITFlgCTu9jb4ZOxtrUQ2i+hX7dJyaxKgBWnFdbZTbd8 yW+iR112KcpyfORCz72KLrqLVK1KG8igXMnF8GyLJ+3uM7fMuFzeUJtB2C2oWOBF01iJ 5wHUybWgNy/spHruam1xBtZz0nnAO2sPpTNn33Crg9VvxIG5c712vxwEa+dqBzp3wxXE ztUg== 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; bh=NLvu2h0fClaPkCTaaiJ2ozV47YR8gO0yM47bs0r0vEE=; b=pRiKNv3tjII5UdIEvMtmFwuzNsjxWsEF147P7Mf6F8SUmkTzZof0p9zl/k5DYwA6s9 ub9Q/iwVrtnm+gH5t7qthp52bnyUuOlkWqXGnfA3kpwMXwsLRpvSCt3MXMkMeCjufyFA hGB5Pf+1ChMiFBtd8X2XLAfXFex9sgCTJcpIrhrxF72hQ/kocqsiU+HO1Pxe+lgYfVlH PzaCb9Qk5fOA7e5goxcMDcR+RywK+Lupn8etFMkw0kZIW5oXnttaf3Hc6SuFwZhtx2Y2 GLYQHqQowkEMjZGqxnO8+l6AWxec26JjrvtKuW9IGQ2/AVviuACdPd1UttIPKYAKknVr q6Ag== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pv14-20020a17090b3c8e00b00202b984842csi2996304pjb.35.2022.10.07.10.15.35; Fri, 07 Oct 2022 10:15:59 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230074AbiJGQoV (ORCPT + 99 others); Fri, 7 Oct 2022 12:44:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbiJGQoK (ORCPT ); Fri, 7 Oct 2022 12:44:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A56BD8F24B; Fri, 7 Oct 2022 09:44:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3692261DB9; Fri, 7 Oct 2022 16:44:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 290BDC433C1; Fri, 7 Oct 2022 16:44:07 +0000 (UTC) From: Catalin Marinas To: mark.rutland@arm.com, will@kernel.org, Sun Ke Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, xueshuai@linux.alibaba.com Subject: Re: [PATCH] drivers/perf: fix return value check in ali_drw_pmu_probe() Date: Fri, 7 Oct 2022 17:44:05 +0100 Message-Id: <166516099472.3824419.5030749989971768589.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220924032127.313156-1-sunke32@huawei.com> References: <20220924032127.313156-1-sunke32@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Sat, 24 Sep 2022 11:21:27 +0800, Sun Ke wrote: > In case of error, devm_ioremap_resource() returns ERR_PTR(), > and never returns NULL. The NULL test in the return value > check should be replaced with IS_ERR(). > > Applied to arm64 (for-next/core), thanks! [1/1] drivers/perf: fix return value check in ali_drw_pmu_probe() https://git.kernel.org/arm64/c/ad0112f2d54c -- Catalin