From patchwork Fri Sep 10 16:04:52 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: 509385 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, USER_AGENT_GIT autolearn=ham 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 A4B63C433EF for ; Fri, 10 Sep 2021 16:07:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8345161205 for ; Fri, 10 Sep 2021 16:07:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231384AbhIJQIU (ORCPT ); Fri, 10 Sep 2021 12:08:20 -0400 Received: from mail-mw2nam10on2058.outbound.protection.outlook.com ([40.107.94.58]:51435 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229901AbhIJQHW (ORCPT ); Fri, 10 Sep 2021 12:07:22 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JXk0l/+cbK916rKzDkPUUijyaxw3eiUQBG96pZj2TU0PcGcbXvZeT2YV2pR48lXXcdEPuD6gOsCTjwaltB/EY93CXkyToKOXJnPsZfrJlOnDLfOgMrlRXkcgwCOPMBWjDHuGhBAGUW/YNMmKbxrcfPI47CoYlUOZIXkngUdtBBaSU7yHgkeEcEexpz2QlVYXGi3P3lNW4j1BWrSC5e8e5z0REnBe0waSNn32SjoypHDC+8/Oii4HGCmu8q8KdeX+lRnB3nK+HuC0huE5lX1srMi/w5eQ6UojLL7lQP0z8GYDjaZR5K6KmmtuOirNSCJK5UkOSuvbNWBSDZyhisLu3Q== 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=ccofu5gYFbkh8sj5fL3C1VHu04LwhvufW1ukyBAA7xQ=; b=fiiiRQUN5IyNweGlUK6U62eQ7yVLjJDeLE8//wYBxpMCBY12SkE3I8IcPXTaPZ4UTBJH5xkWkNuubZUHUGy0J70Ub3Yy1Z40nKnUtewIVcjX/n6zdGTneHlNiZnY0pOhUjnNq792AslS5eCaN3PYVwnhirL2ELA1Jptn3eJDPrzILZh/kR3RfC5BOmDAt+BM0nbQkO4+RrzuDBVopIF7fFkBUD2SWcubsACkEolUptABWg3MPHhgcU4iCIo94NVV3JW9lLiUO++nCN4irzCxz6E926n+b3OOm8xKxDSvTotVztrUahxl6USo6uWPYzJDQjhzC6nec1QOqVxkzk6jSQ== 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=ccofu5gYFbkh8sj5fL3C1VHu04LwhvufW1ukyBAA7xQ=; b=CE+zTZxBtATmFgffkCWM4nckwxpwnVjnZAwG5Q2qKBcCdl10iFnoIRmb1wR2EyLEWLqSRIM3ABD8u7nIryk46bNy859zTwo4xqcQ10V5ocXELglU87z4LGF1kewAi35nHD4xlosSnx6LMXmbGyQNMd+aKNBEfVPNWg8JwUP66vw= 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 SA2PR11MB5002.namprd11.prod.outlook.com (2603:10b6:806:fb::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.25; Fri, 10 Sep 2021 16:06:09 +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:06:08 +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 19/31] staging: wfx: fix error names Date: Fri, 10 Sep 2021 18:04:52 +0200 Message-Id: <20210910160504.1794332-20-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> 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:06:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a973e416-3393-460c-0d21-08d97474e6b9 X-MS-TrafficTypeDiagnostic: SA2PR11MB5002: 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: cye2JE0XjrzFDPf4s+ehb4NLROUvFLx3YpCg7Egf/6C6bGvsxyfXh3x/d4T91DuDp2HWkIu6I1Sh5zOyrFEjn8qOkmwzdtDYzR2+ofV/LO3QGciDeGDowBixCuI8nV9RGsYF/SC7dIvIFwLeq0jqw5lbyiFvxIzp+hQXKz6hf+CVhhS2ns1LFSCkOe7LnnUH3y5olg81HL51Y/gs+iuPSkLTMRJeyUD1XyihfL14LEQftweBKXS077Ip+jg+I1uiFnxuk6qNeg2Iyd3QsfpAkgQU+5fYpgjohCOqyjJpcGcZ5BnKjU/ytWDuIeUKjIGZk4lDwGAs4kjrys61RVIyEB3MzRkkzsIAzSTvrj0/p9s9lenr6QgodOohKI/6ePztGdPfY55e+7uIELOfLHNVT7R34uUjaSyi9NW0Spscp6A2/BK91s/S3wJet0esfc69W+3QHO1Tu3AUKtgtj5Pj//80J5SGwXNrIDvjnko5aTfkm5KI+U7s5CCBsjg/hHexHTu7TuAwDpa0FMxlKHqIEJw0MXIMpCXgY3iaoQl8jXmU9i3wiHQcc18lo6Vier5N0QbfLpBx50e+iola+OBVvWUHyVHh5Yvx28J2bXgQsT2FSUIYXiEAegL9nOcIBbg01Wg2NXc+LzX3R2cb21wZIQ== 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)(6486002)(52116002)(86362001)(38100700002)(8936002)(186003)(66574015)(7696005)(4326008)(508600001)(8676002)(4744005)(36756003)(2616005)(6666004)(66556008)(316002)(66476007)(83380400001)(54906003)(66946007)(2906002)(1076003)(107886003)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?qTnFzVtwbxbF87rDVchWeE68O?= =?utf-8?q?ysw0pAGH9R0XIpmrZ6uToZYmQXDUnx+meSy2tL9+kg0eTljPdx8qplt6?= =?utf-8?q?T/ONHdbz5VnLVBhjD7b+KnCmi2MR56shoWfehUXl3h9Ra/oWPxsvADdZ?= =?utf-8?q?SgAURwunVrp+KlsEtnnhy8npmJMi9iqa4I0jpyfHSOKoAJsztqaJrztu?= =?utf-8?q?peXgHz5RqdPfwM6XmUSsJse1jPD8Sj/g+GqIs8f7K9MdvVg3LHSSMPe3?= =?utf-8?q?BIvaZijxE5M+GRyDLeT1AJw8z28+tn+28hFtYIzeqzCsdrCmaEAhbw4C?= =?utf-8?q?nQtg1kzcvYw6gH5G+Hj0lYhetFBov1/t8jxjaxnTqIcZmiNhJ7TNfpO0?= =?utf-8?q?TTjhXrSFACAHoTQmS+5S+krU/SNRsLziESkf4Nh3RUg/RX7NH4rS+tfF?= =?utf-8?q?NU3YUd5vt6lY+VfdVWRFW5Sk1qxXzkhNqJoKjkl95UGgCTdL2/o7TXfH?= =?utf-8?q?N07wCqeAmK3r4LbjpgTWxrGzGjQeX9moaov1qVHMH0OS19ebTgY2xSO9?= =?utf-8?q?rcAmQgfKDsW+aU/uZ5SeMmPKIFrdRndMJCzz7Iv8XYTT2uBGDF5gwgha?= =?utf-8?q?iMqufy2si5GDhgimcPOfLLUm7K0yu3CbX4EjKTlBV/OSdNRq08C0aijg?= =?utf-8?q?iMuqiLWk3qJO3e1dDLE9UwNgwpFba9DYyp13T0uFX6emNFjAwIVo+PP+?= =?utf-8?q?kMWRMHENAfnui77H4INfzu6eGt1ewIGrTirA2o+4n3Kz4DwOeV7bsNEc?= =?utf-8?q?++GhI3H3cawRMvJI4o3HtueJpWRni+EpvUSJQgJh3KZH8zhJe1Ku4bhj?= =?utf-8?q?ba1zf3weTD9N1H0Z+2hgmt1myl3PmozEi6+lIdagIBxIMtyeUTUpRS0p?= =?utf-8?q?MezO/oapTzIS/YUXjHhAsJZHIG4DpZU2ocQsjgmCeOCbWkYSxXgG7EKa?= =?utf-8?q?cjYoes+GFmDY9ZDJXkoB/QxUcAnTL65Vf/Mkkz4t9iaRdSz76Jb/eFnm?= =?utf-8?q?xu5Sj5TkfZCQ5CEab11mdHotdxbzXtMedwWvGPbJfAfLQ75RY+3JanmW?= =?utf-8?q?dymeqL6dHYDXZsMRt1dCYtDClHaK9gsYdeasDNZphtdNwkLMjuV597Qk?= =?utf-8?q?I4EQcwKWJzdlEaDe9WQcxo439KBBpZ+gEXW8qNOB7zSimamQgRu45IFb?= =?utf-8?q?atBQLgawtNrtKdZA3KlJC3Jxk0jKgUiRIhQcfjF5JGPoFDdwhdEDACNe?= =?utf-8?q?10VfCHsIYFlliKPwyXH2oIE2L8eQM085UIfINqwd6i3lX1eulmFva2ly?= =?utf-8?q?W4FGAKNnpzBUOw7eRBtYwLYLxBYw0fjOT7JeVoU7O5eonXKq8uD3ApHU?= =?utf-8?q?07RSgpQaQqU/k3Ac/m0MZUunLQt/LkyleWTu6lC2yOVo1sF1pK9Eqy1a?= =?utf-8?q?cLVAul0qcYSAqPlBxJxJ3qWZDp1iG9q20DKI83U?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: a973e416-3393-460c-0d21-08d97474e6b9 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:06:08.8039 (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: k8LOvPSxMsTYPBoRnPk/IJu3R4sDUMYMDCkj3VQ2Jxszukfpj6cS3dpejCAUOfznVXAkCgFSn9LJr9GiCRzyzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5002 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@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 464a67a9b41c..13cb22cf41d7 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -673,7 +673,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; } }