Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1008661rdh; Fri, 27 Oct 2023 01:52:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEU2N6wh5f0IXMP6Febha8Yu43Ts2H99Tk8klzDsOHGuqnYOaO2UluyYigsGYAYoiacdyqZ X-Received: by 2002:a05:6808:1442:b0:3a8:5133:482d with SMTP id x2-20020a056808144200b003a85133482dmr2345813oiv.35.1698396762891; Fri, 27 Oct 2023 01:52:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698396762; cv=none; d=google.com; s=arc-20160816; b=ARjAAUMZjPxYh2Ng3MU4cvVzciES+v/gwAJ0z4wZQ7yw2xsrwhNcfHIf/2XPWzbeWK CLHLe12PXy5NbY9JlGiChLy4dJgghnplUiknKs1fedscwxnGQZiGn7d8r5UWlrw1Ywt+ wZ3WiHkA677j6g2hyXw6vvUhNqFtGktII7Gze6hbPWSgp3RhLV/DdRF75yDP5WjkhvWI JN2MyxZ9Bvv69+hCNFTsVtW5ROt9W230er/RhhIalhryV6oOVTQw8mH0eEaTOlvmHSSC Lg+5J8G6GKH1kUT7Qlnbtlq/TlfAQi8dLYReQJp7dTa16Z8zvFdX9jGkUWRrvtSS9gtF I7cA== 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=3/jz+invX/2cwEvTPvTxl2fOwHAofZoD0Kt25dPPUM8=; fh=yA30TivmbF8U9xPr1aRCskTDSDKFnBRanyW4gpbavwY=; b=KS1ZP5afx/7EVxL7dbINKm3k4zI8t6xgJZKpLZNDEHYZzMO5JvScB4GZT4VAZglv9p 1RA4VVLPFauRNP7RWahIiZfP/5zng5fT9aEK0xm44yR7y/JitxdPiiaJXO8xAky/ECUH /Nx1mkiI2fMTKPrQyzk4e4xlDgsZPi7mWrPr8pdQPJlT8QNDKVBc0ffnRcGizYwVPGpc pxVUzzxhJujlmrxgml4eNW1oDOFzpFO2NRhWUHacLlS60VmEZDXz0xx7YgmMJTP/FKVz CsEiQQMPnyDnJMB76nhtcTQiqeCD2Ml0VMy2LkT7T4LKW1u/lVMndK7qmUm3jipEaWMP RtUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mBU97PKH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id g70-20020a25db49000000b00da044e32ccbsi1830522ybf.556.2023.10.27.01.52.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:52:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mBU97PKH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 0AC1B832520A; Fri, 27 Oct 2023 01:52:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345598AbjJ0IwX (ORCPT + 99 others); Fri, 27 Oct 2023 04:52:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234963AbjJ0IwV (ORCPT ); Fri, 27 Oct 2023 04:52:21 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0561106 for ; Fri, 27 Oct 2023 01:52:19 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6b1d1099a84so1810672b3a.1 for ; Fri, 27 Oct 2023 01:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698396739; x=1699001539; 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=3/jz+invX/2cwEvTPvTxl2fOwHAofZoD0Kt25dPPUM8=; b=mBU97PKHllQxHvpZPhS/I1vkKK0NCX7TXjlsneceNyZbUw964gCmZvDS/Qyn/4NnJH ll4N1UImuq6XZGSLzPpsBH0o8mADGM3pT+lumRJt4ocqVEqcsE/UNzn4YQXE97pTdSfA 4buEhP2yAenfwtSAdWPgb6p7DMvJHJ1WUDQg3HKS5JpvgrUMQSqdOOm0Kf/1CkSF6a1N cp9OicVesAfJl8XOhDm1dWputsfPKGhLv3xFksAwwqOIMIS+Hw8qba2+g9DZs+0I1mJH p0tq6lZou7nNX6ANjwV+yx3lnfRTOY9Su7YTcnZm+hNzRoYAJtrCqTkbiQeZwyRD3aFn t+wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698396739; x=1699001539; 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=3/jz+invX/2cwEvTPvTxl2fOwHAofZoD0Kt25dPPUM8=; b=mxUcXI5W2EEvHDex0etyAsFo2rscH1MuzIweR8ppIWduJdTqKVqA5V2CiQ2TE/CAUx pycUgbGAFLUyunDg5d/Bf0e6jcFXvZojcC0bRgsg2Bsm05wX1Q7HO9RnKYrdwIhbXhKm Nv+FWy0PHzLuwWPThFbyKnjmYKMIunTtPRzT+84T45mU4FhpVXexnBxW3hFa/1jdVC/a NwI+ujwWA9FiHZn8U1sFjDHGtou98ettsklBinuLIHFnusFKqqbBJVBXHE7EeTbxzn72 21Ld/7HTYAVh84HHGcRECBYwRyEdmHiPz/9BBd7bHQUafaOy6XgxDeUoZmv1Uf9kGrhu x95w== X-Gm-Message-State: AOJu0YwljBoJrkNwWO3/XHSL10okAfF41TzpaGWXcJNNYXaHVh5xjX2W KxrPP9mKsSMGIkaMb12GqUc= X-Received: by 2002:a05:6a21:9998:b0:17b:8404:96df with SMTP id ve24-20020a056a21999800b0017b840496dfmr2313207pzb.41.1698396739315; Fri, 27 Oct 2023 01:52:19 -0700 (PDT) Received: from ubuntu.. ([122.174.106.169]) by smtp.gmail.com with ESMTPSA id h12-20020a63b00c000000b0055c178a8df1sm698825pgf.94.2023.10.27.01.52.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:52:18 -0700 (PDT) From: Pavan Bobba To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Pavan Bobba Subject: [PATCH 01/10] staging: vt6655: Type encoding info dropped from array name "cwRXBCNTSFOff" Date: Fri, 27 Oct 2023 14:21:50 +0530 Message-Id: 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 27 Oct 2023 01:52:35 -0700 (PDT) array name "cwRXBCNTSFOff" 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index 079fd01c6780..aa1017d7399c 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -50,7 +50,7 @@ /*--------------------- Static Variables --------------------------*/ -static const unsigned short cwRXBCNTSFOff[MAX_RATE] = { +static const unsigned short rx_bcn_tsf_off[MAX_RATE] = { 17, 17, 17, 17, 34, 23, 17, 11, 8, 5, 4, 3}; /*--------------------- Static Functions --------------------------*/ @@ -712,7 +712,7 @@ u64 CARDqGetTSFOffset(unsigned char byRxRate, u64 qwTSF1, u64 qwTSF2) { unsigned short wRxBcnTSFOffst; - wRxBcnTSFOffst = cwRXBCNTSFOff[byRxRate % MAX_RATE]; + wRxBcnTSFOffst = rx_bcn_tsf_off[byRxRate % MAX_RATE]; qwTSF2 += (u64)wRxBcnTSFOffst; -- 2.34.1