From patchwork Mon Sep 13 08:30:43 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: 510317 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 07170C433EF for ; Mon, 13 Sep 2021 08:34:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB67160F46 for ; Mon, 13 Sep 2021 08:34:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238177AbhIMIfb (ORCPT ); Mon, 13 Sep 2021 04:35:31 -0400 Received: from mail-mw2nam08on2066.outbound.protection.outlook.com ([40.107.101.66]:47168 "EHLO NAM04-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238667AbhIMIeq (ORCPT ); Mon, 13 Sep 2021 04:34:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a3w5m9eItJ8a9XOVx7CUOpZMIq/72lAe92GIYUANNvrVNDb+yTLvYY6AwfkTC7ExcFFwCfPdYW8nTh5ipkyybJoFn11UgI5/RZ/QW7VGUt4YaG9XjErXl5EwBfmg6pDg5W2vef+wKE8qw0+DYXVQW9acc3X8G193mVOA0kHI8U32ciN4rfAXBQFRQGjgIg4JLg6/IEKBlyXNVCc1fvdgUWDUfzT1j3ErP5RjsPX8J6kXQL6sq00u6tIEnvYjAzpYC0D6YRbKwexIcWpeLTOVR3DXNpIYWo4EIcM4cVf2xtVxqn/P4NxNMLTYydknNNk0ecPBg6Bfdt44yadi/A1X7w== 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=D/nDiHmFKBga19SVvGURvJf4nlMmkEyaiImUJbEKvFU=; b=lXykPrBepxzEcZmXT4vGoGN9U1XxYNuYLt1beErJ1JqdmXgROvUeopHKttIemv+oOHL3Iis6I6FmxmMDGwHcxdsZXkzMo2XJBWwDP6cwzyyqHKDFohtqwcdIk9nnEL88+gPxBKVohH3SEJUyQEJW2BXicB0uRdo3s4OuyMbja0gMHKHivJD3t1S+AADd4aRuiOn4u3eVK2cGDx7M97CnVVypXzr29gno+kpjIIJMDmLYkb4c0MjW22AUFezOxv55RD25JQDDbM80BLJWlR2hdhjEHz/fK9DwIQYX1G790dAjCbg7Fq/dF4tTA9hrjAkkYNb/P1k7Zs5pPeq0P6GD8A== 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=D/nDiHmFKBga19SVvGURvJf4nlMmkEyaiImUJbEKvFU=; b=DUDJyvnlC2aodXLrwo5I3/vf9aCPAI4SSaf1MNoDGrn9R0W3NMx5YW8nzAb22Ih1zJR1Up3jAzSqWR84Mjj6Ni9jDCOEJJShMo10CQuVA5W88iS4XGdgUvEynSPpLvCZDzNE/9qk502SUHWL+CYUuI8PZBaBmS2tViUz6P7uVaU= 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 SN6PR11MB2717.namprd11.prod.outlook.com (2603:10b6:805:60::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Mon, 13 Sep 2021 08:32:32 +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 08:32:32 +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 v2 31/33] staging: wfx: indent functions arguments Date: Mon, 13 Sep 2021 10:30:43 +0200 Message-Id: <20210913083045.1881321-32-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913083045.1881321-1-Jerome.Pouiller@silabs.com> References: <20210913083045.1881321-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PAZP264CA0067.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1fd::10) 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 PAZP264CA0067.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1fd::10) 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 08:31:58 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3579c8be-01d2-495f-0ed8-08d97690f4b3 X-MS-TrafficTypeDiagnostic: SN6PR11MB2717: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:378; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b4gFu4n+YIFqgU58MhwxSNhuEmU+4ehypM6uo5uHavhg/DNovr2LStyYsfhTxCS535sNXhvuXuFjoLXArdWGyQdJmxsHRQNUMPQWmmlAX6XfxmC8EoSntn9A07umFg/+49IC43grWjh5wKKgdXSpYg/dFR6TQDZHXw2Lpa36PBNqoYCdJTkSsBufGMFXUduTw2kDCh6ZJI8nzGt18gz0QXaXc7NNwYvN9Xeo6UvAYtnijONjNbSUeJ4kDTKhr3mOGma9rFJsSZCgpvU0pVNsO0b8CIZaTfeOOvy/nnIvRiabhADpi6I5RlFcYpA1icEjSA2WULY2QLWHUAzlE0K9oqsQ+b7PONYFT8PphitpcpnSVO9WFI8KnXoMDUBC5wYpJhYNcqFu/C6OOCpzf3ipCexcez8/LZXQxBYW7n8Vwuy2iQmyv0pSs/UA5YpkxrMMmWIaBd95EGez8RTMBPFLh7P33w3jD2DULvaiqNii9ZY/g4DuXnK4i4sg5MPFGMGGgBuqxEuiBDNQviT5EDD8wZvt+91QzOlfSJmogCn2oDHdNJ+ZBmsr364//dceVqG5kXy2lEQHKtwAJ+Yx1NdsdmqddO1vqdUc9P14uSYLBWsGhZGr9h9uoyLy4ozTxtD5WyNBNwn/TKm5E3SWSB3YB7X04TK1WHRH5mZvqp1XWLuVBjFaMX/Un6yGteKX96NvfUmTLl2vbPNx9+x7BNDbHw== 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)(4326008)(2906002)(107886003)(26005)(66946007)(38100700002)(52116002)(7696005)(1076003)(956004)(36756003)(316002)(8676002)(38350700002)(186003)(8936002)(83380400001)(54906003)(66556008)(66476007)(508600001)(6486002)(5660300002)(6666004)(86362001)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?pQ7sBfaYshNBgbQ7ODZWfWiUa?= =?utf-8?q?vEdrAucnzgJ2Yo+z3zwwoIHavWjGXqa0j7o5LU6w8DBtKnMM7xXADvQa?= =?utf-8?q?+Z+RUryruI+E0hOfOhsjMjcIyhlhSHDxecenCXho5SvOnxNlKZCoydeS?= =?utf-8?q?Ks3eX4Yv3nyNwO9yssNHVgmjhu+rU8cH3gL19AWFMjlZpyghCaZisaGB?= =?utf-8?q?/H69fBJi8CvTfD/PsEtjEvBJq0/NxiuM2Pc3XYtDq2IKFMU9Ek5bVxj0?= =?utf-8?q?PVFeEZJGy9xkSR25yUHdRtZWvccMuzuuBNlZ7+HxTfC0V+DO9Zn4ecYK?= =?utf-8?q?DJArRljsjcYz1cxH+uwYE72b7OsBJE57lrYOVOfB4/5t4VFMFUIRpkDC?= =?utf-8?q?PvkmCadpFKpLwI5YQO2eM58MRMKMfNzQ5lY3zhDz7ADMCa0kv6gmo2je?= =?utf-8?q?qK6tJCoE/htFsj0g16y8Uo6BKkyBoug6WLaOCTRynS+bl6QZ5UKgK/Aa?= =?utf-8?q?+3vrBgT9aPznhQH7E1/tzM1dW/6SV/6k5w01bVAdhmeJdOWelxjZI9Tg?= =?utf-8?q?QaG/vEvydRXCvB4o5OZRDE0myuEHCNqP6XDYZ3PnpVpHafCT9tAuWLLm?= =?utf-8?q?vrYvGRGZTd5OY0JmpxI0JKe77o+cSdwUB8+ozjoCF5U09KPgQmYmEpyK?= =?utf-8?q?v4bv84OMLprMaN7tXWkSTYeiXpwjv8GRMmN/0X7kteHjaygvzNbuVYdr?= =?utf-8?q?EordAWVA79YHJZypYDYkXcAWJm/BiRLJ4UCRgovJ2Axdw39vifNksY7i?= =?utf-8?q?mJJaa1MerBwHCRpYWbox3KTcTZSxU3jRTTyRFyLvH7c2tab0HLeTwHZc?= =?utf-8?q?CCY9C+NGLniMGWVuHfe0ESA8UXW939PkzPrzzrMlt5RXdil73nJJKsjP?= =?utf-8?q?9DgbYukdI6gRK2J2cbq4RzoO0YD7gX0norLjACamexE/BQ5q+HmzsQDk?= =?utf-8?q?ZJWv0cSJigyYg4jJGZP0ywc3NWBbobk4I7Uapg/KyJ2RVa++nDqqBblF?= =?utf-8?q?yVpQ34haWkxrvV4Tl5JaIvy3/AvPa6tycY+Z3YaiSH7MGIm1IB10UTmA?= =?utf-8?q?Hbc+KiMBqgjyVXIiOOAy5J3EE2kmCjnQFY12dYAfP7UOy6DnpDcfeCy4?= =?utf-8?q?O2Eh3YMHv/4WuR4RF6ItxqYIRfXYCnxKNmb4wurAfWjsspZRjgs8UjmQ?= =?utf-8?q?FchQTxURcATxAMyn0G1BMYA7ql6wwRzEVixzTbVHTBTKYsVCLkYky+3I?= =?utf-8?q?AnN5XDGj4msLmnAomFww3nIa8NDKCxI7whxSD/FoA+Z823kyoS7qlFW3?= =?utf-8?q?MA8eGh9AQy6LrhkmA7yddW2mk2bEk3A3Heag15Ff4vqnIz3saRoHYa+l?= =?utf-8?q?QLlU2eOENhAwYN/9zKt9hOLdLMJGGG3?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3579c8be-01d2-495f-0ed8-08d97690f4b3 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 08:32:00.3598 (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: r9PDQcj8+yIqWRFA6gBnMkWDbvQddw4LXSQVB1oVh03/tpLkEFKVxmsRRBjlzsFqKIor2YBYcAs/GXU2kHnzoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2717 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jérôme Pouiller Function arguments must be aligned with first argument. Apply that rule. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_tx_mib.c | 2 +- drivers/staging/wfx/key.c | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/wfx/hif_tx_mib.c b/drivers/staging/wfx/hif_tx_mib.c index 45e531d996bd..97e961e6bcf6 100644 --- a/drivers/staging/wfx/hif_tx_mib.c +++ b/drivers/staging/wfx/hif_tx_mib.c @@ -75,7 +75,7 @@ int hif_get_counters_table(struct wfx_dev *wdev, int vif_id, } else { return hif_read_mib(wdev, vif_id, HIF_MIB_ID_EXTENDED_COUNTERS_TABLE, arg, - sizeof(struct hif_mib_extended_count_table)); + sizeof(struct hif_mib_extended_count_table)); } } diff --git a/drivers/staging/wfx/key.c b/drivers/staging/wfx/key.c index 51a528102016..65134a174683 100644 --- a/drivers/staging/wfx/key.c +++ b/drivers/staging/wfx/key.c @@ -31,7 +31,7 @@ static void wfx_free_key(struct wfx_dev *wdev, int idx) } static u8 fill_wep_pair(struct hif_wep_pairwise_key *msg, - struct ieee80211_key_conf *key, u8 *peer_addr) + struct ieee80211_key_conf *key, u8 *peer_addr) { WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); msg->key_length = key->keylen; @@ -41,7 +41,7 @@ static u8 fill_wep_pair(struct hif_wep_pairwise_key *msg, } static u8 fill_wep_group(struct hif_wep_group_key *msg, - struct ieee80211_key_conf *key) + struct ieee80211_key_conf *key) { WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); msg->key_id = key->keyidx; @@ -51,7 +51,7 @@ static u8 fill_wep_group(struct hif_wep_group_key *msg, } static u8 fill_tkip_pair(struct hif_tkip_pairwise_key *msg, - struct ieee80211_key_conf *key, u8 *peer_addr) + struct ieee80211_key_conf *key, u8 *peer_addr) { u8 *keybuf = key->key; @@ -68,9 +68,9 @@ static u8 fill_tkip_pair(struct hif_tkip_pairwise_key *msg, } static u8 fill_tkip_group(struct hif_tkip_group_key *msg, - struct ieee80211_key_conf *key, - struct ieee80211_key_seq *seq, - enum nl80211_iftype iftype) + struct ieee80211_key_conf *key, + struct ieee80211_key_seq *seq, + enum nl80211_iftype iftype) { u8 *keybuf = key->key; @@ -93,7 +93,7 @@ static u8 fill_tkip_group(struct hif_tkip_group_key *msg, } static u8 fill_ccmp_pair(struct hif_aes_pairwise_key *msg, - struct ieee80211_key_conf *key, u8 *peer_addr) + struct ieee80211_key_conf *key, u8 *peer_addr) { WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); ether_addr_copy(msg->peer_address, peer_addr); @@ -102,8 +102,8 @@ static u8 fill_ccmp_pair(struct hif_aes_pairwise_key *msg, } static u8 fill_ccmp_group(struct hif_aes_group_key *msg, - struct ieee80211_key_conf *key, - struct ieee80211_key_seq *seq) + struct ieee80211_key_conf *key, + struct ieee80211_key_seq *seq) { WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); memcpy(msg->aes_key_data, key->key, key->keylen); @@ -114,7 +114,7 @@ static u8 fill_ccmp_group(struct hif_aes_group_key *msg, } static u8 fill_sms4_pair(struct hif_wapi_pairwise_key *msg, - struct ieee80211_key_conf *key, u8 *peer_addr) + struct ieee80211_key_conf *key, u8 *peer_addr) { u8 *keybuf = key->key; @@ -129,7 +129,7 @@ static u8 fill_sms4_pair(struct hif_wapi_pairwise_key *msg, } static u8 fill_sms4_group(struct hif_wapi_group_key *msg, - struct ieee80211_key_conf *key) + struct ieee80211_key_conf *key) { u8 *keybuf = key->key; @@ -143,8 +143,8 @@ static u8 fill_sms4_group(struct hif_wapi_group_key *msg, } static u8 fill_aes_cmac_group(struct hif_igtk_group_key *msg, - struct ieee80211_key_conf *key, - struct ieee80211_key_seq *seq) + struct ieee80211_key_conf *key, + struct ieee80211_key_seq *seq) { WARN(key->keylen != sizeof(msg->igtk_key_data), "inconsistent data"); memcpy(msg->igtk_key_data, key->key, key->keylen);