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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20015C636CC for ; Mon, 20 Feb 2023 08:37:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231273AbjBTIg6 (ORCPT ); Mon, 20 Feb 2023 03:36:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231264AbjBTIgx (ORCPT ); Mon, 20 Feb 2023 03:36:53 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38615CDC5 for ; Mon, 20 Feb 2023 00:36:40 -0800 (PST) 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 9C17E60CF7 for ; Mon, 20 Feb 2023 08:36:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80690C433D2; Mon, 20 Feb 2023 08:36:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676882199; bh=6ah7BdSO+tiUwm6vSd2FwhQJjPrl/h1EVnNH5HO1Zhw=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ROHZ0F5P9TL1cGfwqMf9rE0ronn86Z256q4dA0Dbd1TwWfsXTEKlcypktwacDKFK1 rNHJoJ05rKzfDFMX0DHKLVCXyfzh6gp1vQJKfzPT2xbjJWxkPeeljldIvuj47vgimr o+vA32wAhYxYBJ1Hr3HKcwWwEUQM76LKqS0GGd4ohKnlkMjlIGY+d2t1QCpe2vNN56 nPtTxUwINZKKusEnKfxl+/EJw8tDlV7Fh+I9F9m6i/3QJnpMvtRXRGisfpPsWuloFd aSvqS4WboryF9e7LHFEMGHBxf0o/6C2Ixe+YeLOdS+TaAAxtmtELqfl9WNDtOv3nSL Y75QED5E38mQw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH -next] wifi: ath11k: fix return value check in ath11k_ahb_probe() From: Kalle Valo In-Reply-To: <20230217030031.4021289-1-yangyingliang@huawei.com> References: <20230217030031.4021289-1-yangyingliang@huawei.com> To: Yang Yingliang Cc: , , , , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <167688219531.14547.9485021806959510839.kvalo@kernel.org> Date: Mon, 20 Feb 2023 08:36:37 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Yang Yingliang wrote: > ioremap() returns NULL pointer not PTR_ERR() when it fails, > so replace the IS_ERR() check with NULL pointer check. > > Fixes: b42b3678c91f ("wifi: ath11k: remap ce register space for IPQ5018") > Signed-off-by: Yang Yingliang > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 342fcde9d914 wifi: ath11k: fix return value check in ath11k_ahb_probe() -- https://patchwork.kernel.org/project/linux-wireless/patch/20230217030031.4021289-1-yangyingliang@huawei.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches