From patchwork Mon Sep 13 13:02:02 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: 12489035 X-Patchwork-Delegate: johannes@sipsolutions.net 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=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 A169AC433F5 for ; Mon, 13 Sep 2021 13:06:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 84FE260FA0 for ; Mon, 13 Sep 2021 13:06:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240110AbhIMNHt (ORCPT ); Mon, 13 Sep 2021 09:07:49 -0400 Received: from mail-dm6nam10on2057.outbound.protection.outlook.com ([40.107.93.57]:42816 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S236017AbhIMNGI (ORCPT ); Mon, 13 Sep 2021 09:06:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZW/ea27/fMLS2H65WcH8fFYXDsEkXFH/yEEn0VLjdMO7wQBn8RCi8jK/72XjsYWYa6CM75gVj2nmae8Ly7ISsela3oW5TirSiyRwZhia96OO3MsdQcmrhk+Ev4e8co5GHBSzR3/4VOgmsusyezbdD91HteCMgzSYB9vY2VJ8gHw0wdnlQAv4rkUKHiSBdvwmHd8jRceX9H3kKnskFY/fRGvNw7TkqZpfkI9YKQFM1GCgyWmVcp8s1EYnxyI6639ETmhgw0skhUI1IQLZYOZl4ZvrjIxtWm1cNgfRxoH+RBghFO7j/Ysw91pLfxuPwsKIEOY4ar6io/NOgcYd07BOhg== 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=GhjeLjIv4GyX/TJDDsWMl6u53eQvaKXCP7MS4RsgLIAEkCzrN5tnohjKs38aTt9r5s34CsjOXSr73zYyC20BJdq6wAe3kWl5c/XjIZFeY1aiXUpC8pH71qCOB9y6rDjz6LKTc4lsO10qklP85GJFkHMJXHY6Bv7kHUJaN9EWz0Ufi8AGv24pyuk/gYElyYJgYLx8TBTvRBxUoll/v6Rgx0+xHmoDRMFy8UVs+sgXy2BJrhFRIgNNJ+X6tgA+H9ADK3Z87B7HmnDZsWH+CbJELzHKBu8tCUoebdj1IUDbExr15YLVR3vARah25pVNh+Qsan2o7YVUjoTJScSXz2mvqA== 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=WZS0uHER3e8VMqOhTZwjord49kVxgUaitdBzAE+L8t9xTA8XcfKGpk0cJqJr498WkJW1lMNL+Ls3eHNlosmNSWp2jblBQcOqx3NpRF0RATuyYY5ehzmqyQEUSc6bt8olCg2FoSRxSipoXt+be2ZbZP4NbhbnMwqSHF8NMbdOoAs= 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 SN6PR11MB3502.namprd11.prod.outlook.com (2603:10b6:805:da::27) 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:03:15 +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:03:15 +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 31/32] staging: wfx: indent functions arguments Date: Mon, 13 Sep 2021 15:02:02 +0200 Message-Id: <20210913130203.1903622-32-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:03:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aa716e16-c369-407e-d405-08d976b6d987 X-MS-TrafficTypeDiagnostic: SN6PR11MB3502: 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: GIJ5NXI1NcUNBv0xQtMX6uUK2KE+NCsfx94HuRc5DNlcrY2fPE9v2pWRFW7QIO4MkTdaHAremP67Zpx/EsQlkU3NdpAA9Yt89UGFqqHUCIgKI9wAyLmyL0Gj/MKfAi0mgXTp82/4FVyiUeDStZqMSJLIQwkVEr0ncz7CiOvb+e7EaHZo/WuJXoYvVNbcTtO7eX3Hl2iefKrUv5SpQSwdZAGi4wHMq7dqIFS2gfDle+NNZGc8ehiesrVWt2H25Jq0jQcWwBfTk3aBnfQQvsZcnP75/mJyHgQyXKgbNNY1hIqjwbgHnN+SBVtv2FRWs+iayhAf7e0YaXZuJdVeB9dcxp9GMR6EXLv4TgizN2IBWpn3cHj3wOfdBxhV2QNejhx9C+6KsBe75PQjjIA/p8zDWDVl2kgl/LN+B4rt10qIM04XKSOGZ8cgpD3fEb0slYM166D9npq+s9YWujyplz866sMEXstM45rPcggu1oX90G9LvkgWMwLOBVJsI2TJfRHEoAHKcCcC+kk8OBo5Mr6om9QVvHFZNYLQ6p3+p5Sw1392fCaEajHfU3kcJuLCXBeP3JV7G+bL5jKWpuYzdsYd+gr9czRCDsmZRXLlNn3Z8xUpTas+cNFuW9oNE7xIw9ILuB5LyXYi5ONv89Lwk18xlJ1xaO6UCxF4zm9mOgIZMpZPrCEjq7cZQKEDIvOeplSkOJIdX7uPEQaqL/Ch9WjAeA== 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:(39850400004)(136003)(396003)(376002)(346002)(366004)(6666004)(316002)(66476007)(8676002)(186003)(7696005)(52116002)(66946007)(26005)(4326008)(66556008)(2906002)(54906003)(107886003)(6486002)(2616005)(478600001)(1076003)(36756003)(5660300002)(956004)(8936002)(86362001)(38100700002)(38350700002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?/pV24xLZavMO83ELUQZbNxtVhovM?= =?utf-8?q?y7FZZscLyilz2FFCm1RmrbxlU981nJvVy6ugmNqGnQoiOnzmkdZznY7rKjRH1UZlj?= =?utf-8?q?KUQCy1fkAUiyKV23xE47RcGrhttEqMMXX8bLLCMwQxPdlpRwQmPpu0ZfCg1EtaU4m?= =?utf-8?q?kriUdHW4RD1JOHxFpSXdroI3c5OsIFNsFGS9+K8dZZwA5G6geQnLAkYXcnfGa8NIt?= =?utf-8?q?6M/P/iEqZo+BkFFXLKcPMTSmNs6DQ1YZIgKf24yaphxdmowXw0c4AG23nF372mUcU?= =?utf-8?q?LQD85CAek9+bfQoAbwS38EMk4mQ2eNga24acHLQtHnagCBGNynZCkIm+HfRBoBy9L?= =?utf-8?q?fXC2eLw1YT/M8wDN168dOgaKYufMO8hy5Yg4Xb3lU/mTxT8VBNt40cOEFScdapzgH?= =?utf-8?q?Y3jXRa+HzVb1Z66A4XtcMWkOgxsM19BTXSMLmy3NPHONinVGvfbXzVZbrp0P7uU9m?= =?utf-8?q?8wx1/wLylHb5FI9hmvbo62gIJJHa8XXzh3SG6B/x9Lhi5tyxt9z5MAMbiWZcMHDCS?= =?utf-8?q?KChD28ygmc+7BsKByX2BjFoVoQ3Eq6TqqTl4RmUrFxxlkK/hAEFJ4SShOMCEA6y5R?= =?utf-8?q?77gk0LivKTwTS5q6R7CsqPVzB8fqAoIc9Q3IZAyECrQFHoQofCDVe5LGw1O48Al2+?= =?utf-8?q?+kRm6n2nBeRgjyOu+1wT7iDWTTbjo5NiefHUo3OsEYUqqNg2qTT9eDSmxW1qSGjUu?= =?utf-8?q?JQIQOUAnjbUcDKmhTmNr+vy/ZjiwpcOCPuCoA83WEGZHg1PY7bKlOV3Ctmw0SH168?= =?utf-8?q?4VVSkVriIlYlMh0IrsBN5axrcMHOJImuC3YlcWb00UHofQ1ETI2TUIk8FMKB2X/5f?= =?utf-8?q?Xumz8CZLw3ndYF76PM+nlrQWp4sHyZLlpKj75Kfdi8tDNpCGAZIXLutBBmK3UTqB4?= =?utf-8?q?4lK7HHvbgRdbWGHFEv6OH/Sfx1wnayD+HjcHFR7z956oeze+FvXXP2cDWxN1OWPZC?= =?utf-8?q?sx0axn6Zg4jyO/jtbPP4vl6oUmUnmGRJNnCVkqWqw1CHgAdF2qAR7zc9VKl0TgTMN?= =?utf-8?q?vH6i0Dwd4EE7rEevKmBIO6U6HaaZ7UGhI1ShfAK24DD6JMxOQ+qLQbVUCiDZLlmeh?= =?utf-8?q?HtURcyGIa+degcdlYyhyZpO6Zu2sBXyvHdPrWxrq94GWz5OQ6HlwC6CAuii56I7rV?= =?utf-8?q?5JqRNOnkDPsD25iMy32Ox5D8QMYF8Qdk5sgUSsR3UaG+nQDyLBk9s+AMznNxvQNDw?= =?utf-8?q?JANYG6BsIVUDb7xu8VZGJjM3hq9CnDcdyD2chQmvhhHL90CbWKYP4sBvluAz+6isi?= =?utf-8?q?Ptb9r7SM1zHDUcix?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa716e16-c369-407e-d405-08d976b6d987 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:03:15.6448 (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: M2GAGUZVKOTtvVrbX1vXpfa1O2ph+B7iVb/HTVliHdRCFH8wpwghTMAYwT4OP/csxogDxgCStGawQRYa7FBUFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3502 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@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);