From patchwork Mon Sep 13 13:01:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 510292 Return-Path: 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, URIBL_BLOCKED, 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 55059C433EF for ; Mon, 13 Sep 2021 13:07:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3EA326108B for ; Mon, 13 Sep 2021 13:07:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239819AbhIMNIR (ORCPT ); Mon, 13 Sep 2021 09:08:17 -0400 Received: from mail-mw2nam12on2056.outbound.protection.outlook.com ([40.107.244.56]:27422 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S239037AbhIMNGR (ORCPT ); Mon, 13 Sep 2021 09:06:17 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PAoxs17gunVKoXVVQNScYbBmksyC17a89wkOnjL5BJ0GtBSsLl5HLz9pEYhOU4MtfnGVaGO50VDznP6mKx9dbyPFEy/hmPzKfqR6uV7+2E/juho1DEN+5IZQEo127fW5ov6wfMhVqntkZLGs8u67E0xLLJcd2lxrHg9XY9maG2XDyyXVEQGvV/gkXTu0pvt5Tf56p3y8tPtlfJDz40yD1fh6jp8sAn5T9Wy5RbuXtAVNIkkkwkbXdqMe3122+L+Z3Lg2tgsRGkKORorpdA4gtgRqzpnH3J0BrqXqcT3hMkN2StNcaqxGB9XOWAXvHjTqr3xaYqJJpzosRvFHNHdiRQ== 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=NeuP4ZGKysxm7prZcyq2SedkVKYixC5BJTpVRPC2uYI=; b=FY8i55wlIcGfFhjO6eDWD0WdqFarX1IFTaS3mbfG7j8xa5n/40csbQ13aDRpU6GJC/UahBLjS597RMVHuySYxeKj9rJ8lFefweiG+mQy3nWZ/oYujL9rGV6yCj28B7TdiTkgsDc0u1e5MO2S7Nn2itzU2xXaU21lgeR7BzbFzl8X90Y69Rj0Qc+QUckofJ1byh6KudUay4Q5tnO8Tk7aDvsD4su2JkY5layfgR7FDYRGnN34Equn8IzVjc2tIgyY1Oa6lU0unPgnYs29ohYglCPUChdVfdBCAwy3XZ8qNGy7Xocypj+5X7wRVzeHnEAICsbwuyxNP3cC1Vsmq4UEBg== 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=NeuP4ZGKysxm7prZcyq2SedkVKYixC5BJTpVRPC2uYI=; b=HTowKYxINM0jjdJoNUgY+eGkKgJbiTZ6nD9NUq0AHbDX2yGJ6HMKS5n6nDdhDk1uiMBN5dR0d3Ndz84Xe9H5P7TyRq/GaeQVn5wqUdmnQpY924rDdfxqGZWmj4otMy8wWvzRfZKLroIbrGDPP5mLWY145yMbWWOUPtd96WeVTL4= 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 SA2PR11MB4860.namprd11.prod.outlook.com (2603:10b6:806:11b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Mon, 13 Sep 2021 13:02:52 +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; Mon, 13 Sep 2021 13:02:52 +0000 From: Jerome Pouiller To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kalle Valo , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH v3 19/32] staging: wfx: fix error names Date: Mon, 13 Sep 2021 15:01:50 +0200 Message-Id: <20210913130203.1903622-20-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> References: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 13:02:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: feaf2996-5cd3-4909-7d70-08d976b6cbb9 X-MS-TrafficTypeDiagnostic: SA2PR11MB4860: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2657; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NWGjbdcTGN/izWcL6iRem3+zV5kozhHwfVhvWREs7aKCkaSiAAsVONnL6rmlg1W0kZfHAFXvqQTfEqtPK2vF37NfsAXodhV6MN7fbHhIi711D4K2mSDGeqr0PUkyB5Pu4JvFmegOR/AtZCZB7Xsmi7vlx5lbM/f+JVqwA9m+aBxWlRWMva160rB71W1Kkidwkm1nYzwTqp5yw9KihIq5cB6VRu1bb2qtkKc3AD7Ca2cXDj0CgqRyB61jGbiha5qDJRMkKDroo874jNusnYn1CE9FaCYjcd5bP7n619BZOgkZv112nxyEfML9nrEt9npic26ePaVHt4C3rRgm1T8iCMLkBQgvjsfda6upbAeXO+9gSvvmETdHL9R1kjKb2TpYIZ0QHEzMVzRlR1Pkn/rLC42w+ztEbkWQF+Jv8gtPZijZDHbk+vwANbDCafskQ34gT8sRsCpdKuclnVu61Lo3JvFAxeJmDP6mzxMXVLLOUHAob/uJXAiqiPUY3N+mhZgpxjjMEygHbSiA1BF4VzsHbNI/jrBlhajoxBLMuEKGpCHqyP34Tsx3mgTNeF5k24bR+csUUyonjRQi5sUqVBAnHQyxLYfEtOK5gxV1wg6nGH3dgYi1ui88rewzBUf8YcEBykhbvvrCjNQfuh6VwpyeoWPTTNxxred4jBpI/i/Ii30zHU5O1YzapxD4TIcQgLNdr260S1EqXE80Q0Vlbzvxlw== 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)(956004)(66574015)(4744005)(66946007)(2616005)(26005)(36756003)(38100700002)(38350700002)(316002)(4326008)(107886003)(7696005)(54906003)(5660300002)(52116002)(66556008)(1076003)(66476007)(6486002)(508600001)(8936002)(83380400001)(86362001)(2906002)(8676002)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?9/r6tcYvKcp7b7GCz8VDSjoqz?= =?utf-8?q?nF3t2Pjo2AXRHIsspCg8/PA558DFZZqllVkd8XNk5v21gat86AAx5f5R?= =?utf-8?q?ewFNa0y5DjGRcw3sdML4nva06/f7dZXKAjzYTbKm+WMRfWnhSqHnJrSW?= =?utf-8?q?7iQ9c1wES8Yxp8xWujAvO5QHySopVqem2D9xQP6rigPANn4VFuQMFdL5?= =?utf-8?q?K6vwb/NZcIzaYhprKDtMSCCHcn9r8fYb/sRVc+cnvnI1bmlwWwHqvCOI?= =?utf-8?q?cdvDFLtJqJzqP4mYTHUCLzIcScH6euDsxWEs0RlncEyPz+9uYNBzxRYn?= =?utf-8?q?9sZTmvc9eUa1zQo9/oWXsC/q52lA4CfNPz56vos0/Lu+oP0B4BqqrwzZ?= =?utf-8?q?iCAu0W2+MiWxYQBfd6xtRIl6MFQamZ4o/iA7FpCJ3taHntDIjTjsDcfK?= =?utf-8?q?xcd/SP/c1eyfz7MLRfqEYq3h5LjMA7+MjCp3+nkvicFs9kFyuclndpEV?= =?utf-8?q?zLnTdMvUEhktWUAPr0JKDEFR8K0HzVrcIDWD5QxeCuL2C3fAZETA45iY?= =?utf-8?q?7ssDfmpdweWOD2NgaBt7CzdyjIKDLNSKU6bArv7LiqOMNXz0RWzGCeQl?= =?utf-8?q?aFct7+pLxdIT+0kAAIPBZ9shRzAIM2JvK20LbnGlA4clHsauK+wBWASn?= =?utf-8?q?XGnmS+mrZNh0GKZQgphIf6KtuBoy7EShjdS3rJYbFI0YLbVzzwrEcPgt?= =?utf-8?q?aZucA4bzx3V/6HO7HIqxV4o1Qz3su6FhhW5QFhO/ZCSz6T3wHd3X5ll+?= =?utf-8?q?MXHJk1pvxq1pbEDjorVOjb5ygmHHbSCrR6jKyryfsH9/fru6NK76/pnG?= =?utf-8?q?8NoCTiMIyUfsbXnSztnaUDP7rjHRQlvXkRc2Hyll4sCRn4g2qwHjct2b?= =?utf-8?q?4trV+9y3NdMF3wLuCPlLqY1sa+boxlGekFfNrhRnSGWQ2a6VqM+6uvzh?= =?utf-8?q?Vr/3X7L3yV0+BLLVdkwSLRuDHk8GqfyW8xAe+smzw2e55CGZ0wh5mroX?= =?utf-8?q?v+RIFKYbXbFKvNQ9XPzEPyjgFCjJZiMfVBRpTAYnTjDe8JbtN4SG2wfE?= =?utf-8?q?x95cc304wbdEozX7TXVai0214/kJfL736OyRxnSS/M9b8wSAKUKU1iiy?= =?utf-8?q?Epf3PDV80kq2m5sW21l+EbIjgv3DOUnmSM0DhIZ+3CpRVO6xfXXrE4aK?= =?utf-8?q?gxjjsaZW/vQJgblTYgvOu8mY7UPt2iG9v4blKiQsct4n7GBsJdV9E+03?= =?utf-8?q?wsfmVLWDDwsmnoHW6Xt40yWV7Mf0mVMN/HhQKtEw3vmIyqm/58jw3BQH?= =?utf-8?q?FR5keLFsyU6ryNWQX4jQCk1epUX/+RR3wi0SU/Dan1dMUKcuq91mspYg?= =?utf-8?q?hOGGKM6p5eE4YUx9JKdFZHyKhQuqamS?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: feaf2996-5cd3-4909-7d70-08d976b6cbb9 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 13:02:52.7340 (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: hWpGax/p36NnSayINwEgJ4nLMD6DhR77SWYj8vmNYuVLgS+8ntq7J5OeoX41Xar2NUjNVBI6Zbnsv4TdxAWGUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4860 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jérôme Pouiller ENOTSUP is an alias of EOPNOTSUPP. However, EOPNOTSUPP is preferred. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 5f2f8900ce99..1e8d05c4f2da 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -674,7 +674,7 @@ int wfx_ampdu_action(struct ieee80211_hw *hw, return 0; default: // Leave the firmware doing its business for tx aggregation - return -ENOTSUPP; + return -EOPNOTSUPP; } }