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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB180C433FE for ; Thu, 17 Nov 2022 12:57:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239421AbiKQM5X (ORCPT ); Thu, 17 Nov 2022 07:57:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234724AbiKQM5O (ORCPT ); Thu, 17 Nov 2022 07:57:14 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A80312497E; Thu, 17 Nov 2022 04:57:13 -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 ams.source.kernel.org (Postfix) with ESMTPS id 539E3B82047; Thu, 17 Nov 2022 12:57:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE637C433D6; Thu, 17 Nov 2022 12:57:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668689831; bh=ZOv2xrVLw6KOC97u6Z3qAeavQOyOIGJMgx0UM0hKo/E=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=sGOk610N3CduGTmOdPfuOT4PNjLz8I5lU6nN2aUENTa4ejgyLccsO3fLtFYjBRdpf T2irFWVv7K6q4+bhEShd+i1QU3gpog6quSWq7XiHhS9WqcgQXCA/UuSaUIHLjHsKRQ BR+CeJRqNkvGfPxPsXnXARlsIMFvoWtd/uqlxeg7EVuU017+GEeVK+m57IiGPRMqn0 XcwQtg5O69/i8A6mO4mianTfLiImbGmvTe+8B9LLGjJgVUlIMzkELU8WU8aVlGLLN7 ZtWbwOmN1b5y91nNEop79i3wu82uFjJSd/eYRXn2/wmG+0D+NOtqo01ZdjC9xb2Zgw HUTp5YgmlG4ng== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH RESEND v2] wifi: ath10k: Fix return value in ath10k_pci_init() From: Kalle Valo In-Reply-To: <20221110061926.18163-1-xiujianfeng@huawei.com> References: <20221110061926.18163-1-xiujianfeng@huawei.com> To: Xiu Jianfeng Cc: , , , , , , , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166868982720.22046.2839005153989061348.kvalo@kernel.org> Date: Thu, 17 Nov 2022 12:57:08 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Xiu Jianfeng wrote: > This driver is attempting to register to support two different buses. > if either of these is successful then ath10k_pci_init() should return 0 > so that hardware attached to the successful bus can be probed and > supported. only if both of these are unsuccessful should ath10k_pci_init() > return an errno. > > Fixes: 0b523ced9a3c ("ath10k: add basic skeleton to support ahb") > Signed-off-by: Xiu Jianfeng > Reviewed-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 2af7749047d8 wifi: ath10k: Fix return value in ath10k_pci_init() -- https://patchwork.kernel.org/project/linux-wireless/patch/20221110061926.18163-1-xiujianfeng@huawei.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches