Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp161593lqp; Sun, 9 Jun 2024 22:49:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+EtQFw9v3p3UYkYBaoATCAcjqAEh4/rmiAGDseZXMDcO9i9P0vkQn9b3ZPXuUxltiwKYLgqfCdAtMx9uSIQJ6mmhtBkHpreS4q6P/VQ== X-Google-Smtp-Source: AGHT+IF3zlYGda3iwsJ91bEoQ48vq8fpW3VsJenoDiltR5TdnpOsyAdZRM8FrGLzecaqfrCvr8K1 X-Received: by 2002:a05:622a:13c8:b0:43a:e730:3a23 with SMTP id d75a77b69052e-44041c31ad9mr101819501cf.3.1717998568093; Sun, 09 Jun 2024 22:49:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717998568; cv=pass; d=google.com; s=arc-20160816; b=yxkma78e5RAiitknG3HQ9FS0lv9sUdFta/V44xGhPofz9g6UqEPjy1jNpMnV6carfx NH/x5UickTedFaZDeHBFztxYMMNJP8t9R0iHoY8WONDKxzjHlPXRBjDGfhxNRrWJXTDK kZSYaQRugDTe9D9mutc6IJICDzl7VhDA9XKnS9UMVC9c8BL4fsbpVQd8VTzMHY+xTjzm FYWn2nsYXHV115CXjrEwMXyB/eoe4Y34lfcsb+yX0a3toCBPjsiTZnKcSHepHqlWNFEM rJjaf1hnrgcdnSEW9xF+kTPEEhwaDcz7MXZcKPJA82U/F8dmaEtRyDiWPbAuEIarGt1p 0tjA== 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=qKb/VDt+1G/+4IorQ/WgsaHkB3UUwpTTGGc6wYZp8zc=; fh=mfwQ5Q3Hf73R4lVJ6yl2z0ONh7/NHcP63f7WH57TB4o=; b=vPTkE5H31aYrqxC/KzwWxXKyXNTvfRRZ9kHkM1vCOh/9TnhCZoLjxA8qhxFFmIPmYc UTbgzEpaRWhlFaeCBylMrYSmL/7FDaMtCR3QRAYDTMdXCdaLeR5NnjNbtvIIdQ+o+vhf XaHGBzU/7Gvguy8NXbdItz2qOPJbiZRWR9rfM4HDa3CvJL4kQTg9yTkjFjZuyibrbfP9 VYHHTlSAs5kZiKdGZhmlVftiRu39ObN/evraRPz8nfyfwlTdRWlnW2Ioa1hKt3u5dPcn x3rV7HL6fzufdAiiClfAsPe9InipdFvQ7cjDn7B1Ywr5d4apaKgM4gzg3oZ0lfiHkDnr m9Bg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=hQUkpC9t; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-207667-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207667-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44038b66363si100279821cf.614.2024.06.09.22.49.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 22:49:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207667-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=hQUkpC9t; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-207667-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207667-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CE7E11C20EF8 for ; Mon, 10 Jun 2024 05:49:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42B251CD15; Mon, 10 Jun 2024 05:49:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="hQUkpC9t" Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (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 1741E125DE for ; Mon, 10 Jun 2024 05:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717998542; cv=none; b=MWgBs1QILFBIR0xseaG/TymxN8n4X67SPLOSbFumq8epbOxzVJNpFLAZTpm1F30rPgxjPM1qMtyAzm7P7M+fbGa6E7msViDwzszNb0N6O8CtXKrrNymLzlqJE6ONztMfRS+ywuskmEoxhVHggXuvxJsRFmLTlcARjsC+nRJQcVM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717998542; c=relaxed/simple; bh=5aVoma0bpE5GWX/WIZ9LITVTKqc1xLxGDktG+yidrQI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PIa+ygvy+lhcJiFcn51uqu11ln12Ujq/yl9fmb0Ql24J/GQkXAIh8+UtDsQFjqi3abumbTb8JGvSZFrRsWlZlsxVePzPSz7LcKqR+MUxCAc9AKToKP6wtKfjhdFnrGY0mWLyFW1AEoTgJtQuE4vnjD34O+AyD8JyXM56RyAPQ7g= 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=hQUkpC9t; arc=none smtp.client-ip=209.85.215.175 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-pg1-f175.google.com with SMTP id 41be03b00d2f7-6e5fd488d9fso1581838a12.3 for ; Sun, 09 Jun 2024 22:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1717998540; x=1718603340; 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=qKb/VDt+1G/+4IorQ/WgsaHkB3UUwpTTGGc6wYZp8zc=; b=hQUkpC9tQw5oLHZBFfnSCcElQn4cHNZLRd6XoGjWfoSWM+apSc1giMIv+rNaOLo5el 7JiyZ588XVnPIOCGwXv/ChyTM4VTmtgqtECkWFOXW6YQ0lKAgqADaxKLmmHJVLD9cviI rdwe3lMI0ru5/aosIalrSf9Hwc74mgKIULR+C/H3SmhFejbEQ5Bd9FoutbOGt1OyWO4O u+nNm9GZ0y4ztwHOAvFs1vlv4y1ABA4MJPSXzLWsWclHu23HUwl2VTi4mxTcB0cl/L3x ttY/hfisEhjMLmv8fnEgAMHoA+nObHuIhn28k4AP5ybray85P54cpKy4j6mrskiJn1HT Xb+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717998540; x=1718603340; 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=qKb/VDt+1G/+4IorQ/WgsaHkB3UUwpTTGGc6wYZp8zc=; b=C/fddpxveIhSwCQwsmhOJpP3LkTDIUHk8S8kemcD25SzXGU7fFNEMcgbx8KqJdNKRO JPzPdSYLFKTxgzIL08Jki6lbnvX7q4PPbOZ2KEr4IR4P2dj+NkrQdCqA5RUHgIEbXtmP YvoSBdZZlvJSxOQWf+ORE2maPzZtv8M0szar6ESWfs95knGHRYrKHpEoILzUO1N5IzS5 Ii7H0KDOKRLHHk0bjb6LtVxTQZjBr2rjZ2Rz0Naj5z4E25wePACxwQwM/1w65mCjMOVA mvq/NgixgoV5ssZi3qDKESv4fjk+8JD8TMvbo7U3JCmOaeogkgbw9rMe3+msUGirt0qf F/AA== X-Forwarded-Encrypted: i=1; AJvYcCUwdbSz8nzihG8uu5U0EwtEWoRw0cVxYiPwt14PWDtmIP2Y83kOE177dI+isArkfsQWmfwb23i4b8BgI+ybzcWg3UmfW4hYzjUFGFjK X-Gm-Message-State: AOJu0YyQaIqVUgiHMn341XQ1Q3gEliIUnkNAoAESU904yFs/oh9J05y/ QV9QqFS0GLLIGG0AlnOjJ4YmYTqaPE813IerFlRPiWxJ4f/wly3j5vGHCKCNi9c= X-Received: by 2002:a17:902:988b:b0:1f4:b18a:3f25 with SMTP id d9443c01a7336-1f6d0398abcmr92192565ad.60.1717998540444; Sun, 09 Jun 2024 22:49:00 -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 d9443c01a7336-1f6f1aced64sm35653725ad.9.2024.06.09.22.48.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 22:49:00 -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 04/24] Staging: rtl8192e: Rename variable HTOpMode Date: Sun, 9 Jun 2024 22:44:29 -0700 Message-Id: <20240610054449.71316-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240610054449.71316-1-tdavies@darkphysics.net> References: <20240610054449.71316-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 HTOpMode to ht_op_mode to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib_tx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index 360d1cc446d0..83082a990fbd 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -417,11 +417,11 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee, break; } if (ht_info->current_ht_support && ht_info->enable_ht) { - u8 HTOpMode = ht_info->current_op_mode; + u8 ht_op_mode = ht_info->current_op_mode; - if ((ht_info->cur_bw_40mhz && (HTOpMode == 2 || - HTOpMode == 3)) || - (!ht_info->cur_bw_40mhz && HTOpMode == 3)) { + if ((ht_info->cur_bw_40mhz && (ht_op_mode == 2 || + ht_op_mode == 3)) || + (!ht_info->cur_bw_40mhz && ht_op_mode == 3)) { tcb_desc->rts_rate = MGN_24M; tcb_desc->bRTSEnable = true; break; -- 2.30.2