Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1042681lqa; Sun, 28 Apr 2024 16:12:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdWN0kuVVF27eEug1ecOtnECQUOmeHnn0eCoq351XItZczjopPIL9R/Vf2pZNuE/cy1fJVTmqyBxzmi2SPlDAnY24+ER30axR2td2kSw== X-Google-Smtp-Source: AGHT+IHk3wxFacuR0nE8Yu7P2+f4vwXdjFavL1Ybu1rj4f4GK5a5uzEehZFD/8KNLwJucxt+WT9Q X-Received: by 2002:a05:6512:46c:b0:518:ce4b:17ef with SMTP id x12-20020a056512046c00b00518ce4b17efmr3502284lfd.60.1714345942991; Sun, 28 Apr 2024 16:12:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714345942; cv=pass; d=google.com; s=arc-20160816; b=WHXF0GKJPUrVN6xKXL0cwrtWD9XGnU9iUgm5hv584aIIlxV+7rs9YHlQXyuSaN1j+M N+ACFnxOe/NB14JdLVCMSHz4I+ZLKs+8fLfgZsklzuLTjgOvZ2ZiumPeE+QevzQX6LHc u5fA2ICJUgc6LBgrs4IVpP8QdmgdKJRHA6vk06ZWc25A04LCfL3+APvEkJDZ0jp32QaB BKpNeDoXszdawlxev7q/kv9ndpTWMbBmz+++gBU3KARxFNzGUpKK6iFPAEvXptnqTFSf hj2kG6ToXu6NFYBkkd2RA3GKjjF0pnCRrkyOUrEzcKKtI/f0CiHXg3k5hh2zdqo1cy5G 6LMA== 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=rJeJ+1XziadzZSEMqMnXKNKhDjbxY+G/WMn03aFRDbU=; fh=7WcB3eUpjJOgdWx0Lk44aEKo0DO/+9bZu1HGlHUhXcE=; b=KxSHaPaBdlaeoztdApoEOVKR5Q/siE/6el11YWE0WMtChylYQ+m8gROpOsyBTDsH30 3yCEK3kH6ZZ0BLXUsyGW9ZHT6BkGlF4bb1TX3U5vh6LSRyBQzlK1FtDEMTkpXb7RDCw6 UnWoJdwF81ayxLpHQQrxClDpClTlsyXUIOOxpb7NVINVw5UMlQT0mWVzGHwZrgnjw8BS QQKYCh6nqfFxpnWLOVs5FBGZs2SgoKsd4s/sOGyILk46hlUgTFyGqtLgIgGLxZ82w6bU xj0Yu+t3HEaKhEIOqQjpxYVU9WuNgdwNsA0+fIfUzOihsn87oLcqwD+cUMB5SgAW4zmJ p33g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Vn1lT1dD; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-161611-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161611-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p14-20020a50cd8e000000b0057020ac4578si13591429edi.124.2024.04.28.16.12.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 16:12:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161611-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Vn1lT1dD; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-161611-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161611-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9AA7C1F21A26 for ; Sun, 28 Apr 2024 23:02:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D39E3C06B; Sun, 28 Apr 2024 23:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Vn1lT1dD" Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (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 37CFA2263E for ; Sun, 28 Apr 2024 23:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714345275; cv=none; b=WWJVOjMQoDoKvj/uk9ZQSzYc+S84F/tnzBuUwFa0sl8z74SVyYs4FuEosD70mSjGIYjSofZaitZw1KjOlTyqKTuUFlaGbI3GRvHbku+nuYNEw5OzLtCADuizf/wCU6KcQfWsK1ChHNNs7GiWi7idUJ27+jSjJ9HuRCL+N+UaeD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714345275; c=relaxed/simple; bh=YfrGStHbweVnCvMwn8UTPUZKQBrHkwiqrt1nr0sCsZM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uRLaX7u4Qf0+4RRwMqDawbX8NFRi7rLwQ/TC8l9rJ6sMe5xbZ4xmRioWcw827PLW6hRrNXPfw8kJLNa17nUB5/o6p2NTlF2w9BVz55b6r4UKh9o+bxKiDld7LuwxlKBb+S3W7Q11MghmxzUcMH7hfWJtsFSRgeRGc5e4SBlJcTc= 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=Vn1lT1dD; arc=none smtp.client-ip=209.85.216.43 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-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2a564ca6f67so3451170a91.2 for ; Sun, 28 Apr 2024 16:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1714345273; x=1714950073; 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=rJeJ+1XziadzZSEMqMnXKNKhDjbxY+G/WMn03aFRDbU=; b=Vn1lT1dDqWoAaUS5vNvNyXM0/dDqvi88At+wk+wRyWQLRP983R5m9Zyagsw5gPemUC fmdkihuHQ3Wpx26YwXps0GrqSidBGhEzKL6V0wZNhJJuc3Dq6pABMJpOjclq2fAXHhxG 25/d/Zzo0YQbIhm9b3pwew7SQ/nhsQ/IDWakxOzOhyHySizgk29oq5R/NM1Y95ZywFDr i/Ga66opsaWu1ka1r4pFE/73FahqKW6uICwAV6mcIKgroRK7dhPegk84I9L1YGX+pBAS PzKWSSrFv9VtVQfxEF0OexGfO7v7P7YNqVvAaPV5Zmu3A9sG/2o8tx1sj+7ztwMBMKRJ 6wBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714345273; x=1714950073; 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=rJeJ+1XziadzZSEMqMnXKNKhDjbxY+G/WMn03aFRDbU=; b=oXgYK76mv4v/5EFswTsPQqhB18khlsCB2IjoidjJLHQ/3znTahZ3is+DFlKqOZ/k5F DFpqZQqhHbNSkk2Cl16qAoo3rvibAnPAoKyz/Cd9e6/5CXmW+m6Vc+iQ2G6dA6FKd/TN yyrbfsySHttLFmknlE2Biy0m3zupRHkK/4jEGbYw3qMxSiZtYVs64QAZwKIVvx5GKqon QbZYVOkjBk99wreREre1kmvhjjzVudg/EunjOrOaoMiaeYCDnT2Qp3a90wx3rbPi78Yg VKOO6ecjJYljqI5TrLUXzqcf0/iL2zWcDHv4OYunKKmDu4wZnFjN3V3XGnG7zaRbOXl+ g2GA== X-Forwarded-Encrypted: i=1; AJvYcCWY9N2Jt8MuJjgijsaVQDazc7UjFDbshSH+Wt7wACF0Tcy+OR5AM/Yhl36cHrcY64xdf3pxyamsqNPmFroSon8FWp3nyjzZmbWh2KNI X-Gm-Message-State: AOJu0YwaPlsBpTjLiMtc/q8vK305Zp/N2gvKU4W5yzWCldbSokUjpBuQ vMd80k9pgqhTxV649ioAhke3g9kSEjjLtHEgbNuLqLvvOK+AbHNvbN4ugICZYVo= X-Received: by 2002:a17:90a:eb03:b0:2a2:ba9:ba61 with SMTP id j3-20020a17090aeb0300b002a20ba9ba61mr9252623pjz.34.1714345273454; Sun, 28 Apr 2024 16:01:13 -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 o16-20020a17090aac1000b002a27132ac02sm17860864pjq.2.2024.04.28.16.01.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 16:01:13 -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 06/18] Staging: rtl8192e: Rename variable AdvCoding Date: Sun, 28 Apr 2024 16:00:54 -0700 Message-Id: <20240428230106.6548-7-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240428230106.6548-1-tdavies@darkphysics.net> References: <20240428230106.6548-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 AdvCoding to adv_coding to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index 938be9c27e0b..fb3c0dba9d16 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -24,7 +24,7 @@ enum ht_extchnl_offset { }; struct ht_capab_ele { - u8 AdvCoding:1; + u8 adv_coding:1; u8 chl_width:1; u8 MimoPwrSave:2; u8 GreenField:1; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index b79ea0b42e44..6eb708ba80ae 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -251,7 +251,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, *len = 26 + 2; } - cap_ele->AdvCoding = 0; + cap_ele->adv_coding = 0; if (ieee->get_half_nmode_support_by_aps_handler(ieee->dev)) cap_ele->chl_width = 0; else -- 2.30.2