Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp35822rdb; Mon, 30 Oct 2023 22:38:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHAS3kTK6FsykiUcoutGcZ+vqIsdnzJ1U/uk9RF6EWEYqfUxyq8M5+2INCJtNvfE5D+uZpr X-Received: by 2002:a05:6808:14cb:b0:3ae:5c48:6f41 with SMTP id f11-20020a05680814cb00b003ae5c486f41mr14023805oiw.28.1698730701816; Mon, 30 Oct 2023 22:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698730701; cv=none; d=google.com; s=arc-20160816; b=Uj70ZlEaOxnN9TNNLw86RzP1r54kz2CU1X6cX7NqM/KIz2Mdxy5AgNx5sRnNhJDrp3 f8EwvJM/BXe5jevNwB6KM8e5+hd6lwy0xL/jo0cBhnPtAkIUzDE+jdB2zjFs61+VzIif jEn2N8GatyCNrxRdB8B+ppSWFflDJ1Q10b+Of+XM7qm4t/WUXOnJheNCYURMGlBprYH5 fHeJ57QztlBQPF9/2RbGRalkbIV0b7HJlq2XerF1ImRfkB/qcahRU9ydAVRCJ+JfSIDl NfIA87lxzRZ7ZMfDkstSvI29khF0rYFUPmXWOuFapOa1JDNm6llvJM6E1b/xG6wiP1iy ZxVA== 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=mN/MvU9MLPHLAEGw0iR4UGx3aKzLloZYmaIYA+TmX30=; fh=yA30TivmbF8U9xPr1aRCskTDSDKFnBRanyW4gpbavwY=; b=rChrW+qnlmI8vuWYKZO6Miko+XdDXtVenXnIwNaFPkrCq0jE5AEtUV4CkUdFvIaEPt GqA2nAwYh3ofpeflVWl/yIwER/Q0/sakK/QHcmwtZNC3uJNGd2CzM8c+2DOw7Ki4Y5ph I0wcGR1Fd0sZfXyJ8gs9LTqhXPq5ZSA2aliNNdR3sq1n6va8QnuNhVIoyWKS8jfNKgf2 s+c8SPIXgRArKeWyKAwl4+jYvoYFlkSybU7kF3PAHora+tGo3CVc9o1otfVowH9SBIe8 8Wz26jkJIdNhjY5aiwLkXzyxyz9c+P+6Ux715eAakUyNMxvuGf7Y4BIpHAxfgLE2wbdP u1EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bJVXSfsz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x40-20020a056a0018a800b00690d42e3347si501087pfh.157.2023.10.30.22.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 22:38:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bJVXSfsz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CCCA380756DC; Mon, 30 Oct 2023 22:38:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233147AbjJaFfl (ORCPT + 99 others); Tue, 31 Oct 2023 01:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232140AbjJaFfY (ORCPT ); Tue, 31 Oct 2023 01:35:24 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26A4CF1 for ; Mon, 30 Oct 2023 22:35:22 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1cc0e78ec92so32328015ad.3 for ; Mon, 30 Oct 2023 22:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698730485; x=1699335285; 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=mN/MvU9MLPHLAEGw0iR4UGx3aKzLloZYmaIYA+TmX30=; b=bJVXSfszbot3TlfBfKGYywe2l8Nut41d1P88FqB2dnrrjW0n7W0cFC34KKixo3ftwb kghvGIB0Iut8bqBRCDARgRAs6N2jll/Ww71qvzbpmzXaE2u80hO4R7KT65MRG/sESCUL qZY2c8v1BbtaPWGBGL39s+s5EGv5tdteHgUio/HHxOcSx8KJVM3ySF1h5yjC1bEPEujn MSYOjkSx3G1r4XVZHmJbhs1SYasd7GCJhbDpOESd5sD7aoptdjByUVIIc1XvFoOxfBUW cc0Thz1L0JhyK3dVW+sDv0QV5o9kw3O4IO3VYuBYa9lZYiR6zhBpbLUdOxkWSPOoFup1 BW/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698730485; x=1699335285; 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=mN/MvU9MLPHLAEGw0iR4UGx3aKzLloZYmaIYA+TmX30=; b=icLLwFCOHJvuOzRb8r5tUM1qtioYMnH2a8qZ7cb5iYiCsFGL4BSu/ux9F5rclh+o0H PtjKXmx1WBdXw0qIOj5cu7ktwYfmGy70puvNtKrYX6cNJCAoggMGPWQNEoMYvmAW1ynU K3172iKYoGpHjbcyn47pakqWNSX35KcG91q5YtheFR2EA8NDf0ZPexezOwBTLvZSFt0z mPWLOrhWgG7pDx5GsBIST92sIWGdyLdU1iBVvLFzYpBXmhXMMCgMvMcSDBF4yGeuNLVz SfbYoUTxMfHHDBoBwJqo7nM4ooQvo5m0WnQpJd2M8npJda5QiGd8L7GlrO/cA2Coow7t aEVw== X-Gm-Message-State: AOJu0YwS+wpC1KYd0y8cvUgy+BL9N3H7ULawFqqzeUCRNjs3rXUHuPPe yIdJUFbdABnNXGKX3vU+3HO/bDQnc9w= X-Received: by 2002:a17:902:d491:b0:1cc:50f6:7fcc with SMTP id c17-20020a170902d49100b001cc50f67fccmr4334454plg.55.1698730485502; Mon, 30 Oct 2023 22:34:45 -0700 (PDT) Received: from ubuntu.. ([122.182.231.82]) by smtp.gmail.com with ESMTPSA id b17-20020a170902ed1100b001c0a414695bsm422211pld.43.2023.10.30.22.34.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 22:34:45 -0700 (PDT) From: Pavan Bobba To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Pavan Bobba Subject: [PATCH 02/11] staging: vt6655: Type encoding info dropped from variable name "qwTSFOffset" Date: Tue, 31 Oct 2023 11:04:25 +0530 Message-Id: <035b910c92233a7252a4b312e0cfe5adbcbbae79.1698730318.git.opensource206@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Mon, 30 Oct 2023 22:38:17 -0700 (PDT) variable name "qwTSFOffset" updated like below: a.type encoding info dropped from name b.camelcase name replaced by snakecase Issue found by checkpatch Signed-off-by: Pavan Bobba --- drivers/staging/vt6655/card.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index 59a788b7e268..e0af14eb7cd4 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -291,17 +291,17 @@ bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate, u64 bss_timestamp) { u64 local_tsf; - u64 qwTSFOffset = 0; + u64 tsf_offset = 0; local_tsf = vt6655_get_current_tsf(priv); if (bss_timestamp != local_tsf) { - qwTSFOffset = CARDqGetTSFOffset(rx_rate, bss_timestamp, + tsf_offset = CARDqGetTSFOffset(rx_rate, bss_timestamp, local_tsf); /* adjust TSF, HW's TSF add TSF Offset reg */ - qwTSFOffset = le64_to_cpu(qwTSFOffset); - iowrite32((u32)qwTSFOffset, priv->port_offset + MAC_REG_TSFOFST); - iowrite32((u32)(qwTSFOffset >> 32), priv->port_offset + MAC_REG_TSFOFST + 4); + tsf_offset = le64_to_cpu(tsf_offset); + iowrite32((u32)tsf_offset, priv->port_offset + MAC_REG_TSFOFST); + iowrite32((u32)(tsf_offset >> 32), priv->port_offset + MAC_REG_TSFOFST + 4); vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_TFTCTL, TFTCTL_TSFSYNCEN); } return true; -- 2.34.1