Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2082742imm; Mon, 16 Jul 2018 01:42:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfGBJRfs7Dr8rmTvRire85EQiwFPWlpnveojd7UHIDeyMigiA1cRr2w+iX3ZU2Yts3Cfxlo X-Received: by 2002:a62:dc8f:: with SMTP id c15-v6mr17157481pfl.155.1531730555310; Mon, 16 Jul 2018 01:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531730555; cv=none; d=google.com; s=arc-20160816; b=1BrM/La51CK0/p0qJOMxSeOrrdsacVdOXySIQQFKxJ1bt1McH3wze7AqQ3YgVUvy2l aNVp5q1COJXuSDKsr91r20A5UhVKAaZrQjBKbC8gPV03gBaQXS7GHDD9ul0eL0CYLLd5 h6Fh+Sli67wdZrlRKALvgxP0hjgxjQFp7wPwIlf8LKrD8Wg2WTBV5XXkT9USLJ0DYbI3 MUXSaXcEacfOXtamq6sXRbheuauKF9hLFCDHlk4VVEVEsH5sGpdUeJWegZRPEhPi3TlT Zw3jl7BYaBCn57Ltj85DelAC+vvPWvhn6UHZKugzRlSu6VvNTnhDWjiVivyv+jh9dn8J zuHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=lyDjjZU5pEtSU0gWpkxHoUioiebbccppIMxgFLydo7U=; b=hc3ZjbOk0n231SnCUZ3CELm9rGAsPXwo1Frw4E8CakBNz2ZRZNUyr//jL5TVBUjwcs WrFhgpQy4KTcTg5D5Iccn9msyubtXuoH8qM3FcwZRyVvwSx3BcMGJlhEeVzaQwMnQ3ap /ZQYSdCoGkQQyzaQrhbpk2Jg63xIFYMfvYAb9x+zNvfuMar27SmJ8+YwFbYv+5gTUHm0 4q7Zdpca4A+tzEmAfQzQjXcN+1ntkoQgfhjqjSO9UQtIApdfhgc8zThGbWp+Vn/8c0jk bRZUM2xnChTKZ8IAfYRh8C7r1YDzpLXznkR40MEfnyRJ4u2vCAjZgc0/b3wjJssvl/jE oZNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w126-v6si28517984pgb.11.2018.07.16.01.42.20; Mon, 16 Jul 2018 01:42:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728285AbeGPJIA (ORCPT + 99 others); Mon, 16 Jul 2018 05:08:00 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36862 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727491AbeGPJIA (ORCPT ); Mon, 16 Jul 2018 05:08:00 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 8AA91D5E; Mon, 16 Jul 2018 08:41:40 +0000 (UTC) Date: Mon, 16 Jul 2018 10:41:38 +0200 From: Greg KH To: John Whitmore Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, kstewart@linuxfoundation.org, pombredanne@nexb.com, tglx@linutronix.de Subject: Re: [PATCH 01/10] staging:rtl8192u: remove typedef of enumeration TR_SELECT - Style Message-ID: <20180716084138.GB8260@kroah.com> References: <20180713201247.21428-1-johnfwhitmore@gmail.com> <20180713201247.21428-2-johnfwhitmore@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180713201247.21428-2-johnfwhitmore@gmail.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 13, 2018 at 09:12:38PM +0100, John Whitmore wrote: > To clear a checkpatch issue removed the typedef of the enumeration TR_SELECT > this should not impact runtime code as it's only a coding style change. > > Signed-off-by: John Whitmore > --- > drivers/staging/rtl8192u/ieee80211/ieee80211.h | 4 ++-- > drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 10 +++++----- > drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h | 4 ++-- > drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c | 6 +++--- > 4 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h > index 3b7968681f77..0fa55af7060a 100644 > --- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h > +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h > @@ -2391,7 +2391,7 @@ int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb); > void TsInitAddBA(struct ieee80211_device *ieee, PTX_TS_RECORD pTS, > u8 Policy, u8 bOverwritePending); > void TsInitDelBA(struct ieee80211_device *ieee, > - PTS_COMMON_INFO pTsCommonInfo, TR_SELECT TxRxSelect); > + PTS_COMMON_INFO pTsCommonInfo, enum TR_SELECT TxRxSelect); > void BaSetupTimeOut(struct timer_list *t); > void TxBaInactTimeout(struct timer_list *t); > void RxBaInactTimeout(struct timer_list *t); > @@ -2402,7 +2402,7 @@ bool GetTs( > PTS_COMMON_INFO *ppTS, > u8 *Addr, > u8 TID, > - TR_SELECT TxRxSelect, //Rx:1, Tx:0 > + enum TR_SELECT TxRxSelect, //Rx:1, Tx:0 This really should be "enum tr_select", right? No ALL CAPS variable types please. thanks, greg k-h