From patchwork Fri Sep 10 16:04:53 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: 509384 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 BAFBCC433EF for ; Fri, 10 Sep 2021 16:07:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A36B961207 for ; Fri, 10 Sep 2021 16:07:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229587AbhIJQIX (ORCPT ); Fri, 10 Sep 2021 12:08:23 -0400 Received: from mail-mw2nam10on2088.outbound.protection.outlook.com ([40.107.94.88]:56865 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231580AbhIJQHc (ORCPT ); Fri, 10 Sep 2021 12:07:32 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XaYD0hZGUnMFLbF3VbM+xr0wc9nDuf4gW/Ln0SQJrtkiejH7e+JlhK4foKE+ljqwIqj6UD6n0vMcNsf2CJz7/+ulsiLkyJIzbsY3hVmNiGOvD+XveRjgcbhsKsiAZFV23ZOFZDmhWGqJsLf+nFL+ZNZwPeYfOoZi4hP8AcFXfkDiG3vTL489g+9xGx/4eyEBuc6XgrKCmtVZF/N5WfQAuSIfGpowsPm+UW7kFO5/nWzlIiMeDiiIvcp6vmCKPbeAPzh7qfzr6iY0TpH7ucGUFsTfJdAqkgyBF/HtUPw1r9As431JUKH2WiCdjka90vL3B7m3X8ULl0X9Kcz2JIe5+g== 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=zepjhr/9IN2TlKMACudigtOtb0JfVXPJtJXaDzy1Q/o=; b=hyv5+bJvyFc0fBvTfCNn18r7d/W7yaFklW5yTZg6GyK1kQ4YdCK2stqce8b53WqA/6flFA+MTOn4XozkE+pc3WkrCGvHW/EWiCEYghuM/eegrmyWYVGL/5N1ePCm9Wip1EWm6MyFB+Hgu45z2yszfPjP+2baF2NLv1WIslDAjlQ8Y9A9A3pVNt65hryPZsug+r8//7Ac/D0psuwRyyI2lXhUEnbrDCEjbJQ6j1+WDKKaSriDCc6YWUql+0g+FNjnw4Znogi2wjVeZMiY92jzsnElsX7SPvSkVbuM9uUbi6PP2sqawE3YZfp4FU9b2G4LFyEBOiS5vPOVj5+MsdzbxA== 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=zepjhr/9IN2TlKMACudigtOtb0JfVXPJtJXaDzy1Q/o=; b=nrBsZn+XOqfFx6w1AMXwVXHnFOjaZbdlb+w25iccdUQCurnH1Pvb9BznX/1Swctw4jM67wAhJj0w3WuEd0rpv1s2eouR/ty6sT6KRzvkfvfbD522YY9xct2fYmI8tCSmuYfgHjSo2VMWEhx4OR0X0oyvr/9xdMKlDolngQtZDCQ= 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:10 +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:10 +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 20/31] staging: wfx: apply naming rules in hif_tx_mib.c Date: Fri, 10 Sep 2021 18:04:53 +0200 Message-Id: <20210910160504.1794332-21-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:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e7f43ec7-29a1-404b-c562-08d97474e7cc X-MS-TrafficTypeDiagnostic: SA2PR11MB5002: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2803; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q+4EO0+UqcX3/JECXAZYDOVHHWJsXqy2wSZmZshWmMQJlSqBE5sydhtKfxZ5YEPpvgm5jZ0l2X3Etrnxw02MBeluSwU3MTvp4Xw/Oy3sE4lSSx6nYNdtgKJlxRlIWsAzSKuzobUKmLprzhsgSu8xsa7fKznM+MOAu+y4LfJYKxKhuQV9hlTzGPjfoAUd4H+Jkv04s45EXns0T5MtiPDnnyNMCgWlwYgyB6VDF2xtih0u9cVX2UbmzcqJAv7ynU7JVZZeloyVdn61iHV+GxR9CsMPSbrWhSz1WqK7nuKbtBBlg4rKwSgfLzqkT0xPcBPbudgwXU13Mk1mEkeRjvq1HrdJaEKVypyu/ivnOxR4vuCoqL8vYHoB84XZmu2ItAfxvE5B7vT98r/W8zdudIOw6qVqN5fPUg7knBTpMAzrlgbezCy1WNMq2R1g1xakyeHmFeA5HFr3C8TxKLtXYDEfXWikSD3/dR7zphH+oqemheidOCgDzEmk1s2ouybVt4rCHDD777h5YmgDrsyzZOZHVf6sXukAhC0Daw6n+vSDxP0pPMPkvrVXMp8BF79oZv1B70u/chyAKhopu/VF219LYY6aJRhaHh05jc1CkNQz5LXxPoGh4u83UI8O4IEFm3UYJHuYPsF296BH2QLicc0qqA== 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)(7696005)(4326008)(508600001)(8676002)(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?meuoKhdrwfq1jqgrvQjA9HWcE?= =?utf-8?q?ywWtU7XmjxNDnIvBoD8DUHge96BePAZsL0LXNVk2odmDFoW3IjVUX7G/?= =?utf-8?q?YfWKz3G4d/U5gfAFjIo8K7ZqcjiJzH2BsZ4gsNJwraOi22qtZtpgQlAl?= =?utf-8?q?UunuO5B46FdVV7ZiYGQC7AdmBsEz10tpyn5zJK0lUf7PzyprrEXN5hjn?= =?utf-8?q?lU7iufR6yJB5DwyFly+hQKL/XYCZX4iQEbdoA7FLSBK2CKLvMO6RUIh8?= =?utf-8?q?ETRDOj3Q+NZyH2Lg5yMeYPVzfiJh3xKTxNscRiM9x/I2rKu7SaQXKeZW?= =?utf-8?q?FHI5+BvVjN6h1nwWs8V06hA8llVkWpnH3Cri397aJ1oaupzIDwa+Sy/d?= =?utf-8?q?J2VfcD/uA4D6mDCz+sBUGK5u6flGpPzGrcwTCt0NY1egZKoQV872Vl33?= =?utf-8?q?Aa69kddjFsaxW5V8M1IlxWfpS2OguQlb6AnnMnITGMSRQjQXTolZx1Nw?= =?utf-8?q?hZwREyZxA2+Ztn0f02lsmENw5iGiYUuXumNwddyP3XpE8F8FUqJZZG+X?= =?utf-8?q?4Wn6Da1IhxRg/VBsJeyBb1ah6unkctXA+odZaTu4oZUM3ZlMb9yZ+AvM?= =?utf-8?q?BZHVS/0Dg4WAi3RyGAiO4XCD3Tc7itmj9w06/A0EKa7sEGJL10eDWZAC?= =?utf-8?q?tEPdFs6iL0okMlEunDyjsc2Maaso4QkrS7Ywu3aqSNNB8W9xSXRZ+/7C?= =?utf-8?q?lyYu66NOEHmk/4Be0sf/hdusG6Lv9FY2/Rqi754oQYiaTyKQGrX2n93W?= =?utf-8?q?xyDu9snrzdKRCrrIP3A6iTdvvYJgACviN4hVokPdEO+d8dcm+6qiGexc?= =?utf-8?q?EsKD2Q8jhiu1Gk8IogAZ9UInKOn/X9dU6dUgehKkvDuB0LDCsM84onii?= =?utf-8?q?7AV9bC7zgPwAga22SZZGBMNW/TJSlNEI9K2Rz/VJk4UgbG6ULqxOi5Mi?= =?utf-8?q?EuNTadttJnt18L04fGOoIhETkEq0iScyBcAkpFUPsUazSVtx4yyjcEYX?= =?utf-8?q?5Oz+80UsfDxTnZm8enPSCSybVddE01Ob0xKenNlf83daAi2N7iAZz4+x?= =?utf-8?q?meFHYmYsQYWPw+d6AJ3favfjpw2+FeCdoWLMojeOZmp86CVELfKMPbBF?= =?utf-8?q?OI7jf3jzkHOOFP+qtHM5cF0lIKCiyBtQcvuBSsRWtHEUNA70QGGiUEHJ?= =?utf-8?q?hMF5dvoY7wjNuBVX0ph4METj1OvX3s1HmD/72OvQOwh89LSj6Ve/DIgx?= =?utf-8?q?3qe28Z3OwyhUJWeTM8vIRiDd2DT/H6ajIC9YfKlQ1tR3UpY0F85/vXLM?= =?utf-8?q?QuKnFU0VQrQHWrWjIT1sOc8yO98HZVkRIuEn18HhoenWZAaztwXrzFcL?= =?utf-8?q?7T5HCfPEcmLW5i3+r23Nw9w89A1JKwjZ9R/H/jyI07aWI246in8CdnXL?= =?utf-8?q?6kE9fNKSzuD4pOse2OgxvG5Vri36KLdcQVnPaEc?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7f43ec7-29a1-404b-c562-08d97474e7cc 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:10.7398 (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: 69VeO6tneFC7hRdbeInNxrE0uPTZYVsKQQGpZcmJRRD9bfcXBGNc9oH7lKZQ/dvYx0sXWTP1ZVR9PVoNreLQeg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5002 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller All the functions of hif_tx_mib.c format data to be sent to the hardware. In this file, the struct to be sent is always named 'arg'. Also applies this rule to hif_set_macaddr(). Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_tx_mib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wfx/hif_tx_mib.c b/drivers/staging/wfx/hif_tx_mib.c index 1926cf1b62be..1900b7fafd9e 100644 --- a/drivers/staging/wfx/hif_tx_mib.c +++ b/drivers/staging/wfx/hif_tx_mib.c @@ -81,12 +81,12 @@ int hif_get_counters_table(struct wfx_dev *wdev, int vif_id, int hif_set_macaddr(struct wfx_vif *wvif, u8 *mac) { - struct hif_mib_mac_address msg = { }; + struct hif_mib_mac_address arg = { }; if (mac) - ether_addr_copy(msg.mac_addr, mac); + ether_addr_copy(arg.mac_addr, mac); return hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_DOT11_MAC_ADDRESS, - &msg, sizeof(msg)); + &arg, sizeof(arg)); } int hif_set_rx_filter(struct wfx_vif *wvif,