Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1707078rdb; Mon, 2 Oct 2023 20:14:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzLMu/q39/PjkP76oc2cn/DOGeZQ2mSl/GmLrubGA4od7WT0nGr5N5m8HxX31RlC2FirFi X-Received: by 2002:a05:6a20:7d85:b0:14c:a2e1:65ec with SMTP id v5-20020a056a207d8500b0014ca2e165ecmr18199049pzj.38.1696302897851; Mon, 02 Oct 2023 20:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696302897; cv=none; d=google.com; s=arc-20160816; b=rEzGyXzeYN/yrMKf7YCPokdubXj/5bquVukTYqCZp7vK7Hn+21BGfkL1PqnDR7nDXk e2NcEtO0dMlA4OWoQ4ROJbE7q25gO7O/G4zLGAISKhXqU98Or2qd8jj6AcoLB4pd/QgX DnVTErzgIB0C6fzNAyaqpj/yljK+vJqlQ/2Lh4mOsmMVeXC2+4+L6qTpoE36FMp95k98 CiWPf9OLE607mQfGZUFQqTRwOmLKHSqkOnJDAXx2T5XTvBpRf86UgrzzW7AzXexvazkw 4jHjZ5ennxp025+4BiuAiMUFQ3061vfDfnPf7VbzhzYYTXAWMbByx8hXA3ecyWXb6uKH YhWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JdDtuGytLFT9IW88tdQfedwXf3aK1VXTnCUS+xcMTlk=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=0VbVc81LBnG+S8WApwwuC6Gv9iUO9a8f1+xjWKMvbWc1KtTgEzVb90ZocGHEf+RSW8 XvX33eCTWzSVnDyd+YEOJw06SQb4MDDTr/f+hUtYnd7KUAgI/Jw7uT0YssuQ/jqW9c+y ITmuBY74HuVYvBJa8fhih95Nx6eFpmAwKtJQusnH8T82KLNDgppNPWkHoKRu75umi1SA i0uv8G3mAAuxGZ7EKjM8bdyNcrEm0gq3W0Sdc+KuQp5FZrO7hykQf2H/eBar1R97CDwE FJ82Rq6ltsfGuCvwVTu0vPJxEiZuEBiBuVfDnjkS2CplQMLS9f5BybQcrTFhFYDr2Ai1 qpdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b="jBciF/Km"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u62-20020a638541000000b00578b9314261si466048pgd.437.2023.10.02.20.14.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 20:14:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b="jBciF/Km"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B0C2F8106780; Mon, 2 Oct 2023 20:14:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230103AbjJCDOl (ORCPT + 99 others); Mon, 2 Oct 2023 23:14:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbjJCDOk (ORCPT ); Mon, 2 Oct 2023 23:14:40 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C72BF for ; Mon, 2 Oct 2023 20:14:28 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-2777a5e22b5so327321a91.1 for ; Mon, 02 Oct 2023 20:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1696302868; x=1696907668; 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=JdDtuGytLFT9IW88tdQfedwXf3aK1VXTnCUS+xcMTlk=; b=jBciF/Km4rFosGB2B06pTZGVqIjq7ik+yKrr8Cey9fauV+gZa1cGVeEzLHcI9hM62h eCudtbeWtFTh6PHYEXwi9Xd3bTX99G7h53wgebAr4c+OPlL65vPmKSyngs3BtMaiJAxZ vMdtoR9pmLne3Ylg+uhk8jTI/65PwFU9H8SJJNsCTxPwK9kh+HpOKyWP9JVotqH6G2Qt 9SniQ7h11BsaBc474k4lMejt7K1JgW7gj2NCwrckxqPGzr9jScspMfIv2tnfTOaiz+QR F8f9wPK5ic7J/gjLyFqwC/IgVdDbP06KIfM0XELbJE/sfliZA//5yaWb5hm/2hCR+cun e//g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696302868; x=1696907668; 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=JdDtuGytLFT9IW88tdQfedwXf3aK1VXTnCUS+xcMTlk=; b=fBI6PkdItBMd4E+8WoJmteIIOaG0w3UEVR677maYmLANl/z7vwsBseEAsOv0TQKIl7 JEHErQ9dAfLICFMSIlR/HRGateTd/U1xUcB26bedwamR/K+qMZuFegZqPMBcGzp3PlZB PQyupruSnsy8ftGcYw/R3DQT+uOIW6l7+mQ8nco9fq2VjUPGYiy3TJ8oh/H6D6yuc+Sz 9ywN8MaBzZEE6EWGxZbAmq9EMWPffLWf6ZGnsLTPPMrHPcaz7ZplGCNrChGAKf7jUihs 5ClTgGM1vHStlB79Kkk/gIvvxI9aUoloFYQG4G8VuBxnlYVAiuVRficC4tw/Cb7dffaH Q5Yg== X-Gm-Message-State: AOJu0Yw2jBG0bjHAiEauJj79yYZnmZ37HCucJP4zCJhyhm0LIHaNMDep lFpJfiFwBWMrxLnPFjphWSQabcZO9oebhgwPzuU= X-Received: by 2002:a17:90b:2342:b0:277:33b1:94dd with SMTP id ms2-20020a17090b234200b0027733b194ddmr12998152pjb.38.1696302867698; Mon, 02 Oct 2023 20:14:27 -0700 (PDT) Received: from basil.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id 11-20020a17090a004b00b00273fc850342sm7692550pjb.20.2023.10.02.20.14.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 20:14:27 -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 1/3] Staging: rtl8192e: Rename variable pTSInfo Date: Mon, 2 Oct 2023 20:18:47 -0700 Message-ID: <20231003031849.176743-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231003031849.176743-1-tdavies@darkphysics.net> References: <20231003031849.176743-1-tdavies@darkphysics.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 20:14:54 -0700 (PDT) Rename variable pTSInfo to ts_info to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index a482acd5ee06..eaa2a82558f1 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -242,7 +242,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, { u8 UP = 0; union tspec_body TSpec; - union qos_tsinfo *pTSInfo = &TSpec.f.TSInfo; + union qos_tsinfo *ts_info = &TSpec.f.TSInfo; struct list_head *pUnusedList; struct list_head *pAddmitList; enum direction_value Dir; @@ -318,15 +318,15 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, netdev_dbg(ieee->dev, "to init current TS, UP:%d, Dir:%d, addr: %pM ppTs=%p\n", UP, Dir, addr, *ppTS); - pTSInfo->field.ucTrafficType = 0; - pTSInfo->field.ucTSID = UP; - pTSInfo->field.ucDirection = Dir; - pTSInfo->field.ucAccessPolicy = 1; - pTSInfo->field.ucAggregation = 0; - pTSInfo->field.ucPSB = 0; - pTSInfo->field.ucUP = UP; - pTSInfo->field.ucTSInfoAckPolicy = 0; - pTSInfo->field.ucSchedule = 0; + ts_info->field.ucTrafficType = 0; + ts_info->field.ucTSID = UP; + ts_info->field.ucDirection = Dir; + ts_info->field.ucAccessPolicy = 1; + ts_info->field.ucAggregation = 0; + ts_info->field.ucPSB = 0; + ts_info->field.ucUP = UP; + ts_info->field.ucTSInfoAckPolicy = 0; + ts_info->field.ucSchedule = 0; MakeTSEntry(*ppTS, addr, &TSpec, NULL, 0, 0); list_add_tail(&((*ppTS)->List), pAddmitList); -- 2.39.2