From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8F8CC432C0 for ; Wed, 27 Nov 2019 18:13:47 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 62B662070B for ; Wed, 27 Nov 2019 18:13:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="OJchBEV6"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="FFtJ3wls" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62B662070B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2BF18875C2; Wed, 27 Nov 2019 18:13:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gRXg52JB8FeG; Wed, 27 Nov 2019 18:13:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F402C8767B; Wed, 27 Nov 2019 18:13:44 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C79E31BF5F8 for ; Wed, 27 Nov 2019 18:13:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C36DC204CF for ; Wed, 27 Nov 2019 18:13:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OJVFXMU93P-n for ; Wed, 27 Nov 2019 18:13:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) by silver.osuosl.org (Postfix) with ESMTPS id DC94720487 for ; Wed, 27 Nov 2019 18:13:41 +0000 (UTC) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B4C3DA3AB4; Wed, 27 Nov 2019 13:13:41 -0500 (EST) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:mime-version:content-type; s=sasl; bh=HnS it2iAGrkpb/0lh8GfuGsud64=; b=OJchBEV6wTsNHNpy7HpC7G/Ykj8hPSmc2iU ZNyHUf/fy7HejdoHYF3plA4CGLSKo3UdjpuPMKv0eNmDfi7ysYPoUAsam1k4G4Rh JSUoN6qGExnYBlwH/326J6V3kp0bV9Kr28BXpCgBH8cxWaFdbH+Zb1j+bgFwsuYE oLNeP8ic= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id AE10CA3AB3; Wed, 27 Nov 2019 13:13:41 -0500 (EST) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=2019-09.pbsmtp; bh=Gqtd4QHY8nTTSygAMreNmVhoqCMBhmX03by6Vmi1kJg=; b=FFtJ3wlsI9Uuh2UwdQBzLcdaZElv24AnStLIS3w9Bw8MDUtq9Rr+AqIbz5xH+Ji4G9XbmHqD62qA8/7Bw+Gbgi2z8P+2yeCIRjsbtcUoLzxjFSrp3Cas31GvWhKUTXojBP/pfKW9qPZleBKEQXO6Pmvdri4al1ctVexluOy5wg8= Received: from Cheese (unknown [24.19.107.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id F4210A3AB2; Wed, 27 Nov 2019 13:13:38 -0500 (EST) (envelope-from tdavies@darkphysics.net) Date: Wed, 27 Nov 2019 10:13:31 -0800 From: Travis Davies To: Greg Kroah-Hartman , Himadri Pandya , YueHaibing Subject: [PATCH v1 1/1] staging: rtl8192e: rename camelcase variable 'ShortData' Message-ID: <20191127181331.GA27000@Cheese> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-Pobox-Relay-ID: A2D5C114-1141-11EA-B6B5-B0405B776F7B-64344220!pb-smtp20.pobox.com X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" This patch renames camelcase variable 'ShortData' to 'short_data' Fixes checkpatch message 'CHECK: Avoid CamelCase: Signed-off-by: Travis Davies --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h b/drivers/staging/rtl8192e/rtl819x_BA.h index 8b6e4c26f0fb..34d66b8f5155 100644 --- a/drivers/staging/rtl8192e/rtl819x_BA.h +++ b/drivers/staging/rtl8192e/rtl819x_BA.h @@ -20,7 +20,7 @@ #define DELBA_REASON_UNKNOWN_BA 38 #define DELBA_REASON_TIMEOUT 39 union sequence_control { - u16 ShortData; + u16 short_data; struct { u16 FragNum:4; u16 SeqNum:12; diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 816d31c1d5c7..4d3dac55e189 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -61,7 +61,7 @@ void ResetBaEntry(struct ba_record *pBA) pBA->BaParamSet.shortData = 0; pBA->BaTimeoutValue = 0; pBA->DialogToken = 0; - pBA->BaStartSeqCtrl.ShortData = 0; + pBA->BaStartSeqCtrl.short_data = 0; } static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, struct ba_record *pBA, -- 2.21.0 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel