From patchwork Fri Sep 10 16:05:04 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: 509377 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 55A69C4332F for ; Fri, 10 Sep 2021 16:09:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FCBB6121D for ; Fri, 10 Sep 2021 16:09:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232665AbhIJQLC (ORCPT ); Fri, 10 Sep 2021 12:11:02 -0400 Received: from mail-bn8nam11on2056.outbound.protection.outlook.com ([40.107.236.56]:31936 "EHLO NAM11-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233050AbhIJQI7 (ORCPT ); Fri, 10 Sep 2021 12:08:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NPKjQ5WXf/EeCL1r9Pn22BQCWK0SzREnVjo0V7/xNayXEUu+2su5v6FrNX4igaPGrzDEPnUiucnb48oHM9pFsyZaG1GAH4yv1k13cfiviaMnEAJ76Pk60F3mGW/TCzeGl2v6mV9hcIgBZmrpxrgHM0JrKdIS2HVpBp5+dc4a0Ge6UUNbbSu4At7UPw6w43xTQwwKp5eiMCzhPf9eh4VkghMNa6QiqwYU4HMQRKXdC5hnmnNH1rFXSvEWVGD+a7UA4FUuxb/aAkQT+NxL1Kezpi8DImAjx0eMBx/l1wHlcRu9XX8azv7mjUN0pErHOVB0Q1+vO5G6dQ4fssf743vNIQ== 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=xN4+7gc0FnJx3MvoIvCbVWojWzEUHWgpv9NIeAgt6mU=; b=SY+2VLtfaNlKyzK3tzJmRtmsTmPvsz/i5gEBbEBb/6YYAh47SxaudynqrqSRbkT2hFyqPsh2htNcBR/JDVRimdh2EbC2HBPfGW3r4Rolh4tYqJ9b0Raf7lRUaGw7ws3XlRmCdtePy7ZH8vKMR99nYr/L7Ho8XeZ473dZYpGZAw2qw2v1Ah6vIaj3WMq0HJbdZaC2M84FiWm3LiPmoH0Kzyze9vvv4cUnMBbXW+OidALdyRJaWv63KZPbWaLjgrhA3oK7y41SmtjdiGxkjHQqB1F0XpOayW/6ppEmAdASkLE5sxv5dU32anyzVGYScRAS6jmUn5qJ/knljsRvrs6o6w== 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=xN4+7gc0FnJx3MvoIvCbVWojWzEUHWgpv9NIeAgt6mU=; b=U79gSkbPpXZHxHjPRXPCf+JNdTZLCa6xNEC618fTACCEOga/8NNgpJJ9/Rbg5fmziH2ctCVPiUkLt/+9/YkeQ54IP03ldq/BMAT+GWrTRo8R2CWO6FCPgnKaVRrG2aTVNBfxC+LUt7RmZ2VHWJp3mRmlSJep9/R7fXnWSbI8JTY= 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 SA2PR11MB5099.namprd11.prod.outlook.com (2603:10b6:806:f9::21) 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:07:00 +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:07:00 +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 31/31] staging: wfx: indent functions arguments Date: Fri, 10 Sep 2021 18:05:04 +0200 Message-Id: <20210910160504.1794332-32-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:30 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4cd6e4b2-150e-4d82-7e1b-08d97474f447 X-MS-TrafficTypeDiagnostic: SA2PR11MB5099: 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: OWPrUOMDWre9YfY3QGE1Ty9OJYN04Im6w6V4FTNWqAylM6wWgi/n0dEn3fRyttPIMcdtUEqvLQteH9O4n44kLDxU3PhOVIxJiYdJoB6HinPcKKZ1Sgk4gGv1PDZVaKeh/Wej5CUeud2u/jEIPY77EZlgcQARdkrka0gv94CTa66szanlafA+Yp1XaQ/VNFHFUfrv5ks0DHUjN6oc6CmqT7Ieb6wvKVWPitd+Ys1wHaHUyk6ryq8f0g4YLhfP0hWNw4J9z4vTf0YsObgIYLmREIIkT3JyhUsPMqq29ravkCArD0iXj4Q8pSf9L9wpShIHvIPpmuKodoGmBnKJKa1fp78t1qslIfo0nBOWRYTQUgAahWtS5VkpdhjINHtX6HL0DnMkMYhVKN5TLvG5U/k1QxnH9b/Bs+7u8TNcv1mtt+obXnEa39dudDS9cJeGRpQbaLGHc7cpnQPTDY1l+3ynohEXIKAM8ZPPgA1C3j9HANBrgDaAtlsMNHswkD3sYK3Qqhfo9YSZetitDca3pYZkLyBEwhdahcUvbh8Hvj1KYEpuTxKmdgIDZkvE0KXK2gnwW4tilxdH4vmoVPtfhY6FMik7927FBk4nkLQ+ZtIijhxk+0kSDAD5ymE6+B0LLx63Q9aYwrV+SosxMSb/mYyhnw== 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)(376002)(39850400004)(396003)(136003)(346002)(83380400001)(316002)(66556008)(2906002)(6666004)(6486002)(86362001)(66946007)(54906003)(36756003)(1076003)(5660300002)(38100700002)(186003)(8936002)(2616005)(4326008)(8676002)(66476007)(478600001)(52116002)(7696005)(107886003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ngnsAacL9LfaapxhmotA9Eq2p?= =?utf-8?q?C6Rg0xud/GiSQNpcaWnwKxsI9JXRR0EFs3wGIVQfIL0TY5OmUW31m+SZ?= =?utf-8?q?t30harVykSzEnohpoha8PbYC4N++2F2Wtz28bp9MS6hXIsN9ltbRFYnf?= =?utf-8?q?3/Yl6iMPwDpQUPvDVTG1salEXZZhkt3Mkll9vNr4ktaXR8QBEm9Orwtp?= =?utf-8?q?5lmSTTk7xn2pjxmy6gknxRiNRl/zaZwr5eWNiT8u6ZapGj8QRPNf7d4h?= =?utf-8?q?Q98ePhMH2E5+RWs6Ysq33+g4Azb2jVsq34TglETP9mKR/CvY92AOBS1H?= =?utf-8?q?GU2b1Vlu+YZAmW0GhzTSrEg4Ycq1X0ngH5KgQhxl0FzEaZxkRMf/wT7F?= =?utf-8?q?/+XZr24U7r1N2lqaYt9AJNuEEypzl80xr1uQoewolHekpF9UzFRmkYGW?= =?utf-8?q?ihNdeNBEfi9+EY0r6koenAeZCiGIwyidOgXJJC2AAMjXYk6IcCQAuQo8?= =?utf-8?q?i3f30/4kPbi6dVTUx4D57pPII34xutAHgIsnF8K5P/3FFk+Dz0vg0EsM?= =?utf-8?q?tz+jdbvDvxVNjgO9OVxaCoI/v+K2+vJgGQQSiKIb/pYttjRzHSb1Vxhh?= =?utf-8?q?jPzFpR3qihUNQW6ocVXZSogsGBHKfk+shRfR43y7dlgTXvLw2MLpJdxN?= =?utf-8?q?vGOX5x/cUl98u36PC0s3U0kwyLaOXCYEXCSP8Ezycao3vCZpH6jdE9vX?= =?utf-8?q?vApLk6c8xSPE3nOrZMlDuRy7adE81LK4cJdioz3jtzEX0Ypithkmxlwc?= =?utf-8?q?g6yziGJBTnhvQzgIBKLzuSkPThTEi0jib3BSbwxe1i4D/EPxkdzW7Uex?= =?utf-8?q?gMBoMd+NwcYDbGAkgAg5QryT08vZi6vCYtIxX4+UNEfyBksQJ8rO1xJn?= =?utf-8?q?kJ4wcctztEni1m8nhgCR8YDdOj0WDth69KB829DfCefSAG6U3d8bZ+8L?= =?utf-8?q?N57sxo0CD+CL1Dqxta2utk9UXnDri0IqS++LsmFATP7jwGUEMZrpthHn?= =?utf-8?q?FNZxMbT5dJsM6vkA82352A/8u4zE/V0GdBNOu5hb6j/3e1NVft/Lm8qx?= =?utf-8?q?v0wRoeN+4O6lZbhWlr1owVYJ+l9B9rt+tpe4oozFJR+jPHVleW+ICcDT?= =?utf-8?q?OiprUWeaEKCSCuWUDtT8T/UJ1+A5NY6xHYZQnPtuVF9BFw+wpXdasm4W?= =?utf-8?q?QyktqS5DjlKobzsmbyjfLiv5zls2R4PCXHIppMF/QUNfiBcXAMAPpwGF?= =?utf-8?q?YVrZBp//SqVmdj8eKE7Y/6ADP+i2z6TscRxBiFjxxLONI4GCNfxQ3gWl?= =?utf-8?q?rIJCI+1S87bZRskRsQOZX3X1xo75bgscM033djEpkDxfUA6GDm5dQrwe?= =?utf-8?q?jIVeGHvQecMaj6AHMxDSdzP0VIl6jcEO+Xi3hAiXS6ec5JonzH+QKnNj?= =?utf-8?q?lrej2f7Aik1xVCU+lxS29aNcCZZq1b6n7dyRbpA?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4cd6e4b2-150e-4d82-7e1b-08d97474f447 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:31.5568 (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: UzOTUTYpu/kLQcX7gdqFEdPBjHP0MG80UT1hUFrVLecN3CmhxFxWI0LnRuPSaFywgSqJDSQzzY8KNqEt5K7DPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5099 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller Function arguments must be aligned with left parenthesis. 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);