Message ID | 20210910160504.1794332-2-Jerome.Pouiller@silabs.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show
Return-Path: <netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86CB9C4167E for <netdev@archiver.kernel.org>; Fri, 10 Sep 2021 16:05:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FD2261208 for <netdev@archiver.kernel.org>; Fri, 10 Sep 2021 16:05:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230430AbhIJQG6 (ORCPT <rfc822;netdev@archiver.kernel.org>); Fri, 10 Sep 2021 12:06:58 -0400 Received: from mail-co1nam11on2067.outbound.protection.outlook.com ([40.107.220.67]:25696 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229451AbhIJQGq (ORCPT <rfc822;netdev@vger.kernel.org>); Fri, 10 Sep 2021 12:06:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HpblC7YtiFdT1xEjIkzD0L77ll287DKZYDLINgOZKEXQK6+mt7ZfAMXLcC6mZGPQKIZXa0cCb2OAVo17e2iguPRMkhqBsuU0UIlg5iN6OJBXsub7YZW8F/RsJ5JuYGmZeah5kEOXyxpPvBQBtZoSln+7k5/p7yWCX5Ek8SGgD8JeIobQZBXkbUVemy+3GyYpmcNKzl4Xutbgz8We3G7M0z825sxzlevmQOL5M57SrnaLS9mIJiep8v4ig28UrhWwEEFl272kzxnBQaLfbH6xmDIbfrdOhej4uokjVsmao9EE5ahudRSn5TDbMPoYum5CJtwNePBZ9wl0HUBxTMW0rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Fib8Y8j+Fw/sN2NX69u9T+P9uNpyVHksmDfyGgxLK4M=; b=PZ/CuwMOMpYpxBA1JkidjrnisZj5F691XAZU8hFiC8InzCy1qz3P+yd+ORiZ3XgrRBjymeoCnXWkukRLjlX6Xrng+VkmJzFxipW5T4O9MtWyf0ZF8cXqXb1xydRFCXSTucbZ/uJJJewi29HCTl+iz7YU0gCOTVAGlzvbPsEwykJaxhonTRH5XNn3xXrYFWLfmFl2wE2+HoWVnL55aN+uzZLA68hvSJzgMPyiaGGk5C5Umi+d1L5YWTM3j9nLjgfo4MZiDued/a2s0nTqWaq4euSZ2ar+S4wwx1fTi98ILUZnga+EN7Tjr4uAyW8xNy0yPq4unC8ALhVH90AdxCfpTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fib8Y8j+Fw/sN2NX69u9T+P9uNpyVHksmDfyGgxLK4M=; b=RZ3LmnX+F3GuvRCuJ5ac1Yjsjby2ooolA0MwRHRS/aaSmcaKkJdEwW+7yiXluFOcYQDoLbqrBwQuCIAXvyET/B+I7zn9h2LShoPXeKU7pDjS4fQazliifUKSA2n9s6MBKsxYi2i0pEr1OHKw/xsaUzm6dGh7s3BuKV5UTzfqiug= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none;driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SA0PR11MB4592.namprd11.prod.outlook.com (2603:10b6:806:98::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Fri, 10 Sep 2021 16:05:33 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd%7]) with mapi id 15.20.4500.017; Fri, 10 Sep 2021 16:05:33 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kalle Valo <kvalo@codeaurora.org>, "David S . Miller" <davem@davemloft.net>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH 01/31] staging: wfx: use abbreviated message for "incorrect sequence" Date: Fri, 10 Sep 2021 18:04:34 +0200 Message-Id: <20210910160504.1794332-2-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> References: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (2a01:e34:ecb5:66a0:9876:e1d7:65be:d294) by SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Fri, 10 Sep 2021 16:05:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c400d46-7ec7-4b36-dcf7-08d97474d190 X-MS-TrafficTypeDiagnostic: SA0PR11MB4592: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <SA0PR11MB4592F47D477C9B6507EA2F1193D69@SA0PR11MB4592.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DkUjH7DWdYbciEtKdegbBTHDuM0ThY4NiKyTUEHBYGzviWajPiC7GVcL2RfD4vM6zegxop4ibZJ3Q0uvi2jQflpQWubsHeQ3nDABF3xGHmIl7e3QM+DVZye1ycrTCgOR/xENcH803OraTfSrJ6VyCaXLAwlzfWDP4Ml/kFu0733RziDFpgJ9uyy4MUnu9wdT+XMitzyfPqThXcd9D83XZ9gEIbFGekc+kvEFSsKI9k2JN47F3di6vwRtBqs020r7NSPSD6HOpkkqhE3XD/6derpV0WEidkqPHF8y0367eQMW7v3cygtz1ZB1cAqII/yreJ/+MeStwZGJGVd9ZHkN43T4MtrDALYI4qZGdiDPfeLajq8nLJrKsI9u0H5blKx12kMy/Sj4Bg4lC0Yqw4BkzD0fmen+6yN5n/E53selhL2L+E7ULEzZFNRpNKIafMBtTMuqnNvR06tiDjhrHnMoRL8lPPcU2fN2T3kcfH8/LuK2UMKp1GSgGu1HUwmneJpQtd3O/HJtp5MuDgNBbGa1OSzATCtLLb7d9Lwv4An2R5x6/o4oTcvLMEwjAC5mzg1p87oPAdGium7c4zYiAAgaoxPR8Ke2FMRmRzV0O1pOzjqfmFVRgQfcaHzC8qLOj7R6lm9eMYqeYMvFiVj6l2Z8dg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR11MB2718.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(508600001)(2906002)(66556008)(66476007)(316002)(66946007)(83380400001)(66574015)(8676002)(8936002)(36756003)(15650500001)(86362001)(6486002)(107886003)(7696005)(52116002)(54906003)(2616005)(5660300002)(4326008)(38100700002)(1076003)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZlpdSP18mIFTP6BLybV2wpd0WkSG?= =?utf-8?q?L6+uM53o8xukeNACXbyNQ4/bDOBsqzMwwPsEbrEqk9l7Vw6RlRJiR/EYoQo5Kk3yW?= =?utf-8?q?U7cqHNtYgA0Gg5/qkEm0G/P1oZkTylQoqkRjeZDUv9b9F/eCyZz8ymTBZzAc18B6/?= =?utf-8?q?EoHYXh2pXMV2+33EGzgZpWAq2ymbL2VVWg8wA7dyqlx4p/1CIKMdcMIFN4+bH4lXL?= =?utf-8?q?zP9rzVMixOaAMo1Zfe/kUZbukPP8/5/F7/20xZ4g6nO4tGLXwzJ2XcPa7FqJB+4YT?= =?utf-8?q?C98HuPVC5yQtqhimrPeO6dFRwAcw8Egr4HBv5H1ZR6C02BoppFFPuMG9KC0RWrkpx?= =?utf-8?q?goUneMrLNzsmLNhUx5H9hrqlZdAE23M1ARMf49wTSfWuZ9KRdxrnH7fnLkBXuPO08?= =?utf-8?q?/BVkzv+RL6Fq2xo+DAO2pRPeylyAwowKvt/UforOz4dbLHg2bgZgBMvz9mRb2a7dH?= =?utf-8?q?280Whkd7VUTVQS4ZQ5ZM+OpsQGqCOYERP7o722K/lVvl1cveitZBVPY9mYqEYmcPx?= =?utf-8?q?cJMryZbVFzzS/AosoQGgJ77kslBYNxGTzZV4vwD9TqofROtCQV/5Bkz4x/WhrR4BH?= =?utf-8?q?PiY8cFlBSmiaTSIB96pc9qyMHTVVrzVo+bi7DSpmK2XTNGvWfqKaUZLABt1cYXrCL?= =?utf-8?q?2AJrPwCXCKHDKqbkEk0GqSVUbb4OKJh2O0l1izOf2VU1oao8Pc6yfspZeygnwLUV4?= =?utf-8?q?WxI4tiWGFklkW3ShYNQQyR5rvGxIzLmK1FlAlHjOHKgJdGOZvJmp5kIXtJ+npMpCA?= =?utf-8?q?h3T7cFtK3WKPCgcJUHhD4LXPgzsaZpuayBkL7N2A5xsBKeAmUHEMN54bUtpzwpGXW?= =?utf-8?q?OpFmv8RiMWx60TngNaIhrz2z6cZ2TtHXCu49pSLQFgfoyLKEhdetEdS31o4SGwj8M?= =?utf-8?q?DDeOhw1p0INpLz8CoDCoKmPa6kSc3/J8gVTeKnxNYau0NJxc37vcgWTkg3V9YrGEx?= =?utf-8?q?3x6yiLsNyEavTjVSyy/Rfe+QBg4DDftrovUQ6+kq99l5ayrU3fvYCWmjjoAvlk2lf?= =?utf-8?q?Zuo6b1qo77FswbuCq3ICdTEA0dIKmGWcLsFiZ6mhI/Io5QpDD2poA3kqXP/Utm2bH?= =?utf-8?q?93iDSwaaAJSpJsK7Z27eYle0g4b/BJTU5FR50TyLft9DiILXHhn6WrZQzZpZwvmif?= =?utf-8?q?g+6AsMKGAt+QnVUtuPU3lDOsBtKFLHv/sxrPhuKHhRV4AnrsVdkbGmaLcJP4BdFgp?= =?utf-8?q?SsY2byKcDGQpDWCxANBJ6cbDufd7PpIQrSOb54sBMgViXED0tkdkcK5dC9XHwWKb3?= =?utf-8?q?8wI2Xf22YB1VT/h6UU3EQm4nzL0UuhnyfTjvtriZwxupFBsFC9l2+GUWr8hSXcowk?= =?utf-8?q?Zg4BSAnYXxhT4rW?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c400d46-7ec7-4b36-dcf7-08d97474d190 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2021 16:05:33.3314 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 58QN90y1o+PcHxaEc74BzhVXvJzFcB/LEHjCOrb/yO3hSmsLhDlQdCiayjnXJ9Mcmh22URrXky3mkMWwmmgKjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4592 Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
staging/wfx: usual maintenance
|
expand
|
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index cb7e8abdf43c..a236e5bb6914 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -631,8 +631,9 @@ void wfx_suspend_resume_mc(struct wfx_vif *wvif, enum sta_notify_cmd notify_cmd) { if (notify_cmd != STA_NOTIFY_AWAKE) return; - WARN(!wfx_tx_queues_has_cab(wvif), "incorrect sequence"); - WARN(wvif->after_dtim_tx_allowed, "incorrect sequence"); + if (!wfx_tx_queues_has_cab(wvif) || wvif->after_dtim_tx_allowed) + dev_warn(wvif->wdev->dev, "incorrect sequence (%d CAB in queue)", + wfx_tx_queues_has_cab(wvif)); wvif->after_dtim_tx_allowed = true; wfx_bh_request_tx(wvif->wdev); }