From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B4BE0C433F5 for ; Fri, 7 Oct 2022 16:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pFWn8TSy9QU+CpoONzAxp5PotVN1Mx9x8QFokze/R5E=; b=VYk81Pq0sFFbJC WkwM17bQeKxYi46oO/5g1DxyouMzKDg5zkw82E3CnxMgnvIBXeITZPG524CFDFQSv0JgXmEDBuQbY d8IAT2Lss4TO1sB2bWjqfzHpTqkiBz/+RAzHpGBgjxEtU8rskeiTpvI/+x9gvwXjyG/A75czpQQ6D 8Tqj3BFD166XwR0fTN3yXVZwW+6Qj1lolZCR4eUpttDEisZrybnmiG2P9htrdRZFKKHjFRic0vONn 5IWHpFugAqdlW7JokSGnWLRzoRj90qZyRqaqZmhYFWzHVhap5LeAOtKl/k+nAxqE77yS/4stJYpTC XuYUcz5QecKPSVkPBUcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogqSU-009lvv-RP; Fri, 07 Oct 2022 16:44:22 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogqSJ-009lg3-AQ for linux-arm-kernel@lists.infradead.org; Fri, 07 Oct 2022 16:44:12 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id E9443B8229E; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221007_094411_523297_359842F2 X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel