From patchwork Fri Feb 25 11:23:59 2022 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: 12760124 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BDFBC433F5 for ; Fri, 25 Feb 2022 11:25:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236830AbiBYLZu (ORCPT ); Fri, 25 Feb 2022 06:25:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236604AbiBYLZs (ORCPT ); Fri, 25 Feb 2022 06:25:48 -0500 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2056.outbound.protection.outlook.com [40.107.100.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F3B41DBAAC; Fri, 25 Feb 2022 03:24:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XkZaiRREES6S3U6A/HOEkCuiwuMcncgXkUZeS0qOMlUB2HvuP6xRau0U5iN8Xpau6NJeh0r19kE5PWyvidjHzMxSoFbVyiB+u2oQmSVdTOLH6nb3oDMWljT6ghYRUgJYt59amgMCCafk9vDXrMRJGkCTix/gYBE9BrxbYt3wk1NrOhxfPOsIeg4Tno9tQzFOlzMk6ElHJtMgO3zRFJa/P5djtBJbZQvz7fJ2ShETe9PXE3YC4Bk0WU0tGESVPtLnsy6Ev5yDtw9e06QKjJFED/6rXLbqbVGU41j9FEzd9wh5I0p474eTXOH7i2JvPumx1N1CT8tTXPEYVW0HnlQ8CQ== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t/SElU7QRT2qlTl9sDfTxXwac/naMIM8CHp19G+iQMw=; b=m9rAQxaY99N7e9F7TvQ/Q0GMHDpFmlXVsCeHLUA5d/6qmVyu3ysVN088XeSfqgH8vMXBJTiQrTS4xmV2NGvVv/jWXCT4FOk8uN2rQ8n7pmU8nD+Lo8AMjlo3Nsh+DgKUyfwN1yVX/7bAP99gj+PLLx++IPoWVShv0WF3JjYJvf89UrM136YlabrxuAVcuK6gKuv7ygSwcPqCe36xPFz+CQiCqs6b/SoeMCDexqoMM52ViuXXzYik6yfyEI9G4q3xfNxaMHWslM4g64GZBAcjSCpgJ/tOxQeyb2QhyD8ZCjtq0DruH4pYeCBt1EaAgvObdJR8/FkOQMzyg8WZzq0/Bw== 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=t/SElU7QRT2qlTl9sDfTxXwac/naMIM8CHp19G+iQMw=; b=bZ9aUIZ7qkLghYuz/r5OHQnZxPx5vg0I3slmq8X+tLKuyvFY2jj0/gpfSiRpx8v5VE3NCrvsAtIPwffBdsdEEbyalrs+hP8zESUE0opTsTl32ck3m+GCRMTQILURUfvRe/mdOKg0zx52IroLhl0daJ+2er3sT9q7aCtfvEqhP5U= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silabs.com; Received: from PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) by DM6PR11MB4362.namprd11.prod.outlook.com (2603:10b6:5:1dd::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22; Fri, 25 Feb 2022 11:24:42 +0000 Received: from PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::dd2e:8a4e:fc77:1e66]) by PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::dd2e:8a4e:fc77:1e66%5]) with mapi id 15.20.5017.023; Fri, 25 Feb 2022 11:24:42 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org, Kalle Valo Cc: devel@driverdev.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , =?utf-8?b?SsOpcsO0bWUgUG91?= =?utf-8?b?aWxsZXI=?= Subject: [PATCH 04/10] staging: wfx: format code on 100 columns Date: Fri, 25 Feb 2022 12:23:59 +0100 Message-Id: <20220225112405.355599-5-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220225112405.355599-1-Jerome.Pouiller@silabs.com> References: <20220225112405.355599-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR3P189CA0052.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:53::27) To PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 472d8c78-c193-4274-8d54-08d9f8516b0f X-MS-TrafficTypeDiagnostic: DM6PR11MB4362:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8Y+l8Bqwy+/kIOiMJvWd89hKhHYE7xTgnPkFhIHkqtZbPkTXaKiXRg6tU2L64p7mMj5f4d/TC+LXSPmBNKJBGkFuk5oViAeV3/rNFeup/Yy4Zz43G+cwPqigQfp9jNCaZpdzJciobBvHnm02YQW0d2yUA8kxC8Igjg7Akrxrsggh74z0LxuNTJcd4+Nbpl9PDr4IN/3/M7M6QJ5UAXNhhEn+nl69ct9mznzPSteq2W+DXpB/vck/VevKABfZqvReizgp62EBKKXTTFbR9UkP2sW3vvAfGanybN8jUQtDW4u4RbwBB8qhOmh0Z/nZMHjDm3QQsU0ueRm3nhWof9ufPWUiNjNbSUHamNBDjYSkCN3f81RXhtjy0gKFsvSEZWIX4+UlYk2hVOtTWwS2t0zsiin+bIeQwyg8vjbrtaAyBH2vxek/kw1/37e36fY+v8gV3a5hde5e4QpKtXaL2uWbYqmMOrrL6kUhANNc+A4M2zaTmR/817VfsGwDowHu3SCiWQ2teZeBipyqbhRewixnAI2G94JcWqcZsXTeKgah9qFXqXABXbIR7pTxIUqVi3dIe0fm70RQq32kq7lbkCFdwq7DIzfXbCIJfzdZGfMiOYUCbcAX5o0mjW7LPynNyW09lXbhj76/46ivMccjbwj9mRcVGgzkYIQbZCKr4R2PM2BMXs00Nv+I1oLKKLRRdwIPHBdwgkJZDm9wqUE2iJ356KK0j8yq+ixTD5Bqm/GeOJG3hiaIX7ny9nzfy9OIwCKz X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5657.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(6512007)(6506007)(1076003)(66946007)(52116002)(8676002)(2616005)(66574015)(26005)(66476007)(5660300002)(66556008)(508600001)(2906002)(83380400001)(54906003)(38100700002)(4326008)(86362001)(6486002)(8936002)(186003)(6666004)(107886003)(36756003)(316002)(38350700002)(6916009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?fBZJ0w1bNOjgA7hAFJBSLuScmBl0?= =?utf-8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svKtZSSh1WS20K8y4DAW+Jam1Aph8A8xC/a7+wxQ9fWDRJFISn8LF9c6Rg?= =?utf-8?q?pxPXfpS6rzPaisBWqffpBwHtrd33mHGmVMRl85sMFWEh/p4sMDy1H1iXLAgUKG/1P?= =?utf-8?q?Mn6r2E5Ld7CGaL52svkGYACmXZ2Qj6KDpr86OxLQGHPNEtvWD4FDgmK3etwJSDlM1?= =?utf-8?q?Xg1rdx1eZy9IC+rEvi7bDmZPHZSIFZrDGOGI3zNnf8WisVaUfTw4pchcRNjw+NF9N?= =?utf-8?q?YVcW04lylqxRT7DYBPAhTWAf3n3WMc3eD4l5gStTOq4naPDnCv/AEsnx2VXyuZc9L?= =?utf-8?q?msNgcUYeSGrtUVk70HibtHOgOSaQEQH8N3HT4Bdz6N9qukNiD7ZWEAkkJ7Dwen/to?= =?utf-8?q?wSKlz+/CfS7Ll5m/pJvcSy5Z2mXmJeoj/gYWfPMZlZ33LG56h7KscnzuamDmGoZcR?= =?utf-8?q?Pr8bJ4u/O1KLTA+/0bU822gr/3oPASF02H18kvQ695WrNZ02338vrDhnoB1Gi/WHa?= =?utf-8?q?m/4ZA2abneothRVMDNVOI6oFGvquUL4yIINdyMPtzCZfsP0Dwe/kyLoc0uO60j2rj?= =?utf-8?q?vj7CYnEpD8j5WSmb/JhmWMcp5X8APeWKww6yPbz9N8BFfWkYpRoBc37z/HZ85OxYB?= =?utf-8?q?Njv1BsypIIKvUD6k80c/qZTUpxQiIb/NqJd8W9BijgZlAU7OlmXDj68=3D?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 472d8c78-c193-4274-8d54-08d9f8516b0f X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5657.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 11:24:42.4055 (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: XWqKolCniSlG3ZfzNtnalJrt3MfZjpZBT5nrqF/r7vHDXry6OBkQaKHJlHgzovT+T3E891kVN9X6tTmpgKfBmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4362 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller A few lines were not yet formatted on 100 columns. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/fwio.c | 3 +-- drivers/staging/wfx/hif_rx.c | 3 +-- drivers/staging/wfx/hif_tx.c | 3 +-- drivers/staging/wfx/hif_tx_mib.c | 3 +-- drivers/staging/wfx/hwio.c | 9 +++------ drivers/staging/wfx/sta.c | 7 +++---- drivers/staging/wfx/sta.h | 3 +-- 7 files changed, 11 insertions(+), 20 deletions(-) diff --git a/drivers/staging/wfx/fwio.c b/drivers/staging/wfx/fwio.c index 9005a6fe48c8..3d1b8a135dc0 100644 --- a/drivers/staging/wfx/fwio.c +++ b/drivers/staging/wfx/fwio.c @@ -192,8 +192,7 @@ static int upload_firmware(struct wfx_dev *wdev, const u8 *data, size_t len) return ret; } if (ktime_compare(now, start)) - dev_dbg(wdev->dev, "answer after %lldus\n", - ktime_us_delta(now, start)); + dev_dbg(wdev->dev, "answer after %lldus\n", ktime_us_delta(now, start)); ret = wfx_sram_write_dma_safe(wdev, WFX_DNLD_FIFO + (offs % DNLD_FIFO_SIZE), data + offs, DNLD_BLOCK_SIZE); diff --git a/drivers/staging/wfx/hif_rx.c b/drivers/staging/wfx/hif_rx.c index 302bdb2bf036..64ca8acb8e4f 100644 --- a/drivers/staging/wfx/hif_rx.c +++ b/drivers/staging/wfx/hif_rx.c @@ -244,8 +244,7 @@ static int wfx_hif_generic_indication(struct wfx_dev *wdev, mutex_unlock(&wdev->tx_power_loop_info_lock); return 0; default: - dev_err(wdev->dev, "generic_indication: unknown indication type: %#.8x\n", - type); + dev_err(wdev->dev, "generic_indication: unknown indication type: %#.8x\n", type); return -EIO; } } diff --git a/drivers/staging/wfx/hif_tx.c b/drivers/staging/wfx/hif_tx.c index ea2582714bb9..236f9d62e3a9 100644 --- a/drivers/staging/wfx/hif_tx.c +++ b/drivers/staging/wfx/hif_tx.c @@ -169,8 +169,7 @@ int wfx_hif_reset(struct wfx_vif *wvif, bool reset_stat) return ret; } -int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, - void *val, size_t val_len) +int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len) { int ret; struct wfx_hif_msg *hif; diff --git a/drivers/staging/wfx/hif_tx_mib.c b/drivers/staging/wfx/hif_tx_mib.c index 1c57dd2b697c..df1bcb1e2c02 100644 --- a/drivers/staging/wfx/hif_tx_mib.c +++ b/drivers/staging/wfx/hif_tx_mib.c @@ -84,8 +84,7 @@ int wfx_hif_set_macaddr(struct wfx_vif *wvif, u8 *mac) &arg, sizeof(arg)); } -int wfx_hif_set_rx_filter(struct wfx_vif *wvif, - bool filter_bssid, bool filter_prbreq) +int wfx_hif_set_rx_filter(struct wfx_vif *wvif, bool filter_bssid, bool filter_prbreq) { struct wfx_hif_mib_rx_filter arg = { }; diff --git a/drivers/staging/wfx/hwio.c b/drivers/staging/wfx/hwio.c index c15810bdaecb..3f9750b470be 100644 --- a/drivers/staging/wfx/hwio.c +++ b/drivers/staging/wfx/hwio.c @@ -71,8 +71,7 @@ static int wfx_write32_locked(struct wfx_dev *wdev, int reg, u32 val) return ret; } -static int wfx_write32_bits_locked(struct wfx_dev *wdev, - int reg, u32 mask, u32 val) +static int wfx_write32_bits_locked(struct wfx_dev *wdev, int reg, u32 mask, u32 val) { int ret; u32 val_r, val_w; @@ -94,8 +93,7 @@ static int wfx_write32_bits_locked(struct wfx_dev *wdev, return ret; } -static int wfx_indirect_read(struct wfx_dev *wdev, int reg, u32 addr, - void *buf, size_t len) +static int wfx_indirect_read(struct wfx_dev *wdev, int reg, u32 addr, void *buf, size_t len) { int ret; int i; @@ -199,8 +197,7 @@ static int wfx_indirect_read32_locked(struct wfx_dev *wdev, int reg, u32 addr, u return ret; } -static int wfx_indirect_write32_locked(struct wfx_dev *wdev, int reg, - u32 addr, u32 val) +static int wfx_indirect_write32_locked(struct wfx_dev *wdev, int reg, u32 addr, u32 val) { int ret; __le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL); diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index ba53e4d70c4f..28474614a8e5 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -432,8 +432,7 @@ static void wfx_join(struct wfx_vif *wvif) wfx_tx_unlock(wvif->wdev); } -static void wfx_join_finalize(struct wfx_vif *wvif, - struct ieee80211_bss_conf *info) +static void wfx_join_finalize(struct wfx_vif *wvif, struct ieee80211_bss_conf *info) { struct ieee80211_sta *sta = NULL; int ampdu_density = 0; @@ -539,8 +538,8 @@ void wfx_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, wfx_enable_beacon(wvif, info->enable_beacon); if (changed & BSS_CHANGED_KEEP_ALIVE) - wfx_hif_keep_alive_period(wvif, info->max_idle_period * - USEC_PER_TU / USEC_PER_MSEC); + wfx_hif_keep_alive_period(wvif, + info->max_idle_period * USEC_PER_TU / USEC_PER_MSEC); if (changed & BSS_CHANGED_ERP_CTS_PROT) wfx_hif_erp_use_protection(wvif, info->use_cts_prot); diff --git a/drivers/staging/wfx/sta.h b/drivers/staging/wfx/sta.h index 082329d7bbcd..c69b2227e9ac 100644 --- a/drivers/staging/wfx/sta.h +++ b/drivers/staging/wfx/sta.h @@ -46,8 +46,7 @@ int wfx_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params); int wfx_add_chanctx(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *conf); void wfx_remove_chanctx(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *conf); -void wfx_change_chanctx(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *conf, - u32 changed); +void wfx_change_chanctx(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *conf, u32 changed); int wfx_assign_vif_chanctx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_chanctx_conf *conf); void wfx_unassign_vif_chanctx(struct ieee80211_hw *hw, struct ieee80211_vif *vif,