Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp110414lql; Sun, 10 Mar 2024 16:57:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCPh8NpqFf9b3hY3RjSEBDW0936i6lk275iEcOPZJa/r94mmNvRP6JRM9kXnUFRg+p0+HrK+Z8o2drlB6xpjlHfzSZfntWpqgoQjP2gw== X-Google-Smtp-Source: AGHT+IE8fLFy+CfMHsqB4BIPjtLi1BbnmfjTFx0/FMB28s6AJ3Zut+jD0atkToMs/e3ZwfEKxQvC X-Received: by 2002:a54:401a:0:b0:3c2:27ee:9734 with SMTP id x26-20020a54401a000000b003c227ee9734mr5168034oie.33.1710115057246; Sun, 10 Mar 2024 16:57:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710115057; cv=pass; d=google.com; s=arc-20160816; b=0a/jvf6nWujXF4TYTocnbaoqb1S2wBJlToqQTuxX6MRpbGHKmlDPRnTSkIb9HmWYnh +cnm+FFWmppLW4hjlSJ8VsjOuceb7Tsztddy6LNv5uxypNYvyJfhMzfSklXniIJi6ujR ITShvW7UkAFsA0TcSWDxX3Eb6EhsbpxniFThdQUwNCIr90W1PU13uoB5heQnhsopMNMr Cya1GN3WSJeKnf85CFN/AEk8dGrW2fJDMBlwB42jm6EaYclltU8FdjyEGBdRSLnZT5e3 nm6mHddcnJESaf6p9NbI8DjEYe/f2D2/AY62p5XE5mU6F08gRKnNIBN169ZZ9tmq1YwC zfVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=3ek+tNEVfANxjTbowDv0K1U1oO/hLiu0/vhpb377ZsU=; fh=+gp3ysxEWTME+nGI6AkAl14NwXooRUnqwHXTSCeXR/c=; b=0nceGF/nK4+PkkIMYTm2IMjjOyyYta21HqQplbWY759AZixNShHSfow5G6LYWNLWzw lNZ7COytBP6unDp73CtzLEulLpvXOuMFTzPQwvJhwsk4yNAPdkAMBXMk7JmWZrLTKv5B qFsb1ufvZ6OwTidfFOgYIG5TO+Tnt8ToVGoy2dzi/oupVmR2iQUwE5Xs02X5/LHCN36V r5eyTCOW7ctshKDjZBK71XVlzFic+fKTzM3uobUV6pZodCJonHGx8/R4gkhYQPvhZCBD sVgMaEWvGHzlNwf50cRYpXG1XqbwQAbSTXWC18jKh6DjetKQ/dcjWUMu3UUkyXw5OSYG jmLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=jVEKdv7+; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-98378-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98378-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k2-20020aa79d02000000b006e5a09799f1si3661914pfp.114.2024.03.10.16.57.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 16:57:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98378-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=jVEKdv7+; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-98378-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98378-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 02B68281577 for ; Sun, 10 Mar 2024 23:57:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC75441215; Sun, 10 Mar 2024 23:56:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="jVEKdv7+" Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4320A3D980 for ; Sun, 10 Mar 2024 23:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710114963; cv=none; b=pilc1zeUGqzaifln16lJhO3YyEMKNOOdP8oUYSU9Vk8yjeC/FsPvRat0bLfSmgUoNrXnDyu0X8cXcldMPUlnuXujcnjMNF/Q2t0350Lhe4hpUZn8SSe5kUbMXYj4wxZT6molUGGTt4SWG3iI8nlVUiq+bqYDrjJMysf91gQLBg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710114963; c=relaxed/simple; bh=HADUIoGNxxZzzQVbd0yS7ovHI657F4f4qpl2PdUmfl4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qTqMG49depQXV5vz9sqULn7Q1KTDtAlT6TP9dIi+xI5RmBUMQKMK2ezIkfCiIyqA3NPaYNQQmpfSg1+jcuDJ8r5TU88Zms2Dwqg1ETsa8eU1TFmtFaPL5P7dvx2ndT3iQjc/msVRZxQHO+Aa9q+5jIS72VJqMHtiLUwZzRhHpX4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net; spf=pass smtp.mailfrom=darkphysics.net; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b=jVEKdv7+; arc=none smtp.client-ip=209.85.210.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6e5eaf5bb3eso2836253b3a.3 for ; Sun, 10 Mar 2024 16:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1710114961; x=1710719761; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3ek+tNEVfANxjTbowDv0K1U1oO/hLiu0/vhpb377ZsU=; b=jVEKdv7+AXbtA456K4lLrfhr//Txk9X/9BesUCj1T3MYRgBtcB2MmUVVd5TQvSiGmc ZEpQZUm7n8PWrPIP0m9+86COnSEMiFdzvUONwTNQ6ur12BvCItdk0egsW0aLbJ2r0qlL KYbET4TJJcVaAgLpzHGW4mh2AqqVJoqo0DDGqagS2cGp8mg6aN+JHU+pE+r560VvP+HY YMob6xGZNkmOHVhk3vOaORjXaZZkCHqVp8f703o36RXknmZOtn4sC6YtHxyKnvKLPIVP 8bfrzxgfsZ2ON73S9YFQPdI1lhgj37Fn/7dACVe2T064fplQQR1GfVkgbCuLk9FRwsd2 VbZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710114961; x=1710719761; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3ek+tNEVfANxjTbowDv0K1U1oO/hLiu0/vhpb377ZsU=; b=O6RUpC8cQMl/mkA8GogOFHAB+1ENyCBMpxwwgffRsa2ASd6xhy7CK995FphdmBk9iJ +rhgyHb3h/WP6GOabiTPI3LWIphvFQSOTwmUXNWPp/q0eAPiMvXGKihBM9DF3yGp7StD s1eATNdcFtv0c8lXz8F4p9tVRbVOXKagqlVzXCBC7msbZUfU5Vt8MvkM+mypScAQ4oID E/p1Y9275zXPJ8S7cUEk2ZzjtravfSBCiWmpSzf6r0xZVPQVuiwVWqbVtg1nN7YUDWzn mpdXm62Us6YdApmFCcV/uf9C4F1b0q5HVT9mU26Xa4BJ8Ivg5BefKnsfFIkXwf7XKEiG Oohw== X-Forwarded-Encrypted: i=1; AJvYcCUgLpQg68UMqsjH4gARBZgDVYg/8eFpCmZ/UbTa5K4l0W9mf+rbmY9eg477X8Codc8kzp6vnymZoHIQ/O8lUK3fcbUED9WQq9rGjjkt X-Gm-Message-State: AOJu0YyIHEUzb4pF0m4PiFdhnUCil7sxEBXnmubJTcS8oZ+PFq5tlLcd DThGToKFEoyQEiX5cw8XuXaTdn8JYtahM7GozIynegaCNwlo4eT3vY5CR3Mhgqxa11WO7Ia4m1V a X-Received: by 2002:a05:6a21:1f24:b0:1a1:67fb:924b with SMTP id ry36-20020a056a211f2400b001a167fb924bmr2233425pzb.28.1710114961466; Sun, 10 Mar 2024 16:56:01 -0700 (PDT) Received: from lunchbox.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id o7-20020a17090ac08700b0029bb29ef41bsm2903439pjs.50.2024.03.10.16.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 16:56:01 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 07/11] Staging: rtl8192e: Rename variable bRTSUseShortPreamble Date: Sun, 10 Mar 2024 16:55:48 -0700 Message-Id: <20240310235552.4217-8-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240310235552.4217-1-tdavies@darkphysics.net> References: <20240310235552.4217-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename variable bRTSUseShortPreamble to rts_use_short_preamble to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index dcb78cd2e840..41373c013299 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -900,7 +900,7 @@ void rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc, pTxFwInfo->RtsBandwidth = 0; pTxFwInfo->RtsSubcarrier = cb_desc->RTSSC; pTxFwInfo->RtsShort = (pTxFwInfo->RtsHT == 0) ? - (cb_desc->bRTSUseShortPreamble ? 1 : 0) : + (cb_desc->rts_use_short_preamble ? 1 : 0) : (cb_desc->bRTSUseShortGI ? 1 : 0); if (priv->current_chnl_bw == HT_CHANNEL_WIDTH_20_40) { if (cb_desc->bPacketBW) { diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 525242b0313f..cf75d1225501 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -121,7 +121,7 @@ struct cb_desc { u8 bRTSBW:1; u8 bPacketBW:1; - u8 bRTSUseShortPreamble:1; + u8 rts_use_short_preamble:1; u8 bRTSUseShortGI:1; u8 multicast:1; u8 bBroadcast:1; -- 2.30.2