From patchwork Mon Jan 30 12:36:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Zhandarovich X-Patchwork-Id: 4710 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2160793wrn; Mon, 30 Jan 2023 04:52:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXtFIWAR35e4XpxllbkfXTb91LJ2t0KYzLClhxZ59T31zqqZEnBL5it8kkS6bLtZQCCdDzOw X-Received: by 2002:a05:6402:d63:b0:49e:9711:3178 with SMTP id ec35-20020a0564020d6300b0049e97113178mr39756979edb.32.1675083171324; Mon, 30 Jan 2023 04:52:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675083171; cv=none; d=google.com; s=arc-20160816; b=r5EoujGn+O/w5qIuSLFMTzZxDm9n6Rp58mH+3WV+DWrehWHHfEO9BPvPbtztCcp6Pd vTnWWb55tUjnGZp1qhGdi/KxkChXgeiACf6F5YLX4U3BRQ9J0FfgSoMaTC93Qo/h9j6D D0v1A+c/HJ/etfl7l66pPtdnFW/wZAO6NbT0mc67vmr/pxv4cV1rvrNQ9Gma/eRMp0YM bCgDjNkSWTRWy0HRdLgfCZ1sR52zaZlFdSEeiZFIn+dSXxSg9N3iZwVXXFnC7r4yFdpK Y7Vik2NgcWiyWMN6nFBkotUcvVkVRkKaFELWrFxfOL2Q7Q51jdPpbjFdVoZiLHoHesN9 jyIw== 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 :message-id:date:subject:cc:to:from; bh=ZCWnvoQpWw2M2cMVVX42H2RjUEcef3PYAPbbWP1lNNo=; b=yJ0x+m7XEyzVDBPNXzRuOE058JRiwaHTtQjDHG3nYGNpbqHyi8kpLevAj9GHh1a7FY j7Xtc0zsIwsRKHwoH4iZWE8AkgQCkGk4ng9ogyuzKq1xjpEb4C3dgcamoa16M/ij731S h++TtfnlMZxVtlMVogdpy7SFhSxxm1n8jWBL/+ZfZf36rtr0XH1mttaR5dBOZxAjIoLt uP01cTq+NpIWr0/Oh6hDWJCSTIvu7p5ERAkyVVc2hnkyXNd3aU5EWvDdTq6qFyVXT/Cn oxeZeBdWKLJvIiOrLkERfGRmhiRlCxar/qKzzUCMyBI8e6zO3zDK44eScqp9c04lU3X4 Sy8A== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e2-20020a50a682000000b0046b9715162asi14893139edc.6.2023.01.30.04.52.27; Mon, 30 Jan 2023 04:52:51 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236918AbjA3MhN (ORCPT + 99 others); Mon, 30 Jan 2023 07:37:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236676AbjA3MhL (ORCPT ); Mon, 30 Jan 2023 07:37:11 -0500 Received: from exchange.fintech.ru (exchange.fintech.ru [195.54.195.159]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E81CAD37; Mon, 30 Jan 2023 04:37:09 -0800 (PST) Received: from Ex16-01.fintech.ru (10.0.10.18) by exchange.fintech.ru (195.54.195.169) with Microsoft SMTP Server (TLS) id 14.3.498.0; Mon, 30 Jan 2023 15:37:01 +0300 Received: from localhost (10.0.253.157) by Ex16-01.fintech.ru (10.0.10.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 30 Jan 2023 15:37:00 +0300 From: Nikita Zhandarovich To: , Greg Kroah-Hartman CC: Nikita Zhandarovich , Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Kalle Valo , "David S. Miller" , Jakub Kicinski , , , , , "Alexey Khoroshilov" , Subject: [PATCH 5.10 0/1] mt76: fix mt7615_init_tx_queues() return value Date: Mon, 30 Jan 2023 04:36:54 -0800 Message-ID: <20230130123655.86339-1-n.zhandarovich@fintech.ru> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.0.253.157] X-ClientProxiedBy: Ex16-01.fintech.ru (10.0.10.18) To Ex16-01.fintech.ru (10.0.10.18) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756452011232129232?= X-GMAIL-MSGID: =?utf-8?q?1756452011232129232?= Fix mt7615_init_tx_queues() so that it returns result value of final call to mt7615_init_tx_queue() instead of default 0. Otherwise, failure in mt7615_init_tx_queue() is not tracked by the parent function. The patch can be cleanly applied to the 5.10 branch. This issue is addressed in b671da33d1c5 upstream. I decided to refrain from backporting it whole for now.