public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Straube <straube.linux@gmail.com>
To: Joe Perches <joe@perches.com>, gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/9] staging: rtl8188eu: cleanup declarations in rtw_mlme_ext.c
Date: Sun, 16 Dec 2018 08:59:51 +0100	[thread overview]
Message-ID: <fe241bc7-1547-b2ef-eae9-53326a3f5017@gmail.com> (raw)
In-Reply-To: <2f878988b8b9fec09f3fae8e1ec5ddba89ebc6f7.camel@perches.com>

On 12/15/18 5:53 PM, Joe Perches wrote:
> On Sat, 2018-12-15 at 17:46 +0100, Michael Straube wrote:
>> Replace tabs with spaces and/or remove spaces in declarations.
>> Remove unused/commented declarations, remove unnecessary comment,
>> remove blank lines between declarations and add missing lines after
>> declarations. Also clears some line over 80 characters checkpatch
>> warnings.
> []
>> diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
> []
>> @@ -22,14 +22,14 @@ static u8 null_addr[ETH_ALEN] = {0, 0, 0, 0, 0, 0};
>>   /**************************************************
>>   OUI definitions for the vendor specific IE
>>   ***************************************************/
>> -unsigned char	RTW_WPA_OUI[] = {0x00, 0x50, 0xf2, 0x01};
>> +unsigned char RTW_WPA_OUI[] = {0x00, 0x50, 0xf2, 0x01};
>>   unsigned char WMM_OUI[] = {0x00, 0x50, 0xf2, 0x02};
>> -unsigned char	WPS_OUI[] = {0x00, 0x50, 0xf2, 0x04};
>> -unsigned char	P2P_OUI[] = {0x50, 0x6F, 0x9A, 0x09};
>> -unsigned char	WFD_OUI[] = {0x50, 0x6F, 0x9A, 0x0A};
>> +unsigned char WPS_OUI[] = {0x00, 0x50, 0xf2, 0x04};
>> +unsigned char P2P_OUI[] = {0x50, 0x6F, 0x9A, 0x09};
>> +unsigned char WFD_OUI[] = {0x50, 0x6F, 0x9A, 0x0A};
>>   
>> -unsigned char	WMM_INFO_OUI[] = {0x00, 0x50, 0xf2, 0x02, 0x00, 0x01};
>> -unsigned char	WMM_PARA_OUI[] = {0x00, 0x50, 0xf2, 0x02, 0x01, 0x01};
>> +unsigned char WMM_INFO_OUI[] = {0x00, 0x50, 0xf2, 0x02, 0x00, 0x01};
>> +unsigned char WMM_PARA_OUI[] = {0x00, 0x50, 0xf2, 0x02, 0x01, 0x01};
>>   
>>   unsigned char WPA_TKIP_CIPHER[4] = {0x00, 0x50, 0xf2, 0x02};
>>   unsigned char RSN_TKIP_CIPHER[4] = {0x00, 0x0f, 0xac, 0x02};
> 
> unrelated trivia:
> 
> Might be nice to make some or all of these const or
> even static const where appropriate.
>

Hi Joe,
I've done that in patch 4/9 of this series.

Michael

  reply	other threads:[~2018-12-16  7:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15 16:46 [PATCH 1/9] staging: rtl8188eu: cleanup declarations in rtw_mlme_ext.c Michael Straube
2018-12-15 16:46 ` [PATCH 2/9] staging: rtl8188eu: remove unnecessary parentheses " Michael Straube
2018-12-15 16:46 ` [PATCH 3/9] staging: rtl8188eu: remove unused arrays WFD_OUI and WMM_INFO_OUI Michael Straube
2018-12-15 16:46 ` [PATCH 4/9] staging: rtl8188eu: convert unsigned char arrays to u8 Michael Straube
2018-12-17 13:51   ` Greg KH
2018-12-15 16:46 ` [PATCH 5/9] staging: rtl8188eu: constify arrays in rtw_wlan_util.c Michael Straube
2018-12-15 16:46 ` [PATCH 6/9] staging: rtl8188eu: simplify null array initializations Michael Straube
2018-12-15 16:46 ` [PATCH 7/9] staging: rtl8188eu: change return type of is_basicrate() to bool Michael Straube
2018-12-15 16:46 ` [PATCH 8/9] staging: rtl8188eu: add spaces aroubd '&' in rtw_mlme_ext.c Michael Straube
2018-12-15 16:46 ` [PATCH 9/9] staging: rtl8188eu: cleanup brace coding style issues Michael Straube
2018-12-15 16:53 ` [PATCH 1/9] staging: rtl8188eu: cleanup declarations in rtw_mlme_ext.c Joe Perches
2018-12-16  7:59   ` Michael Straube [this message]
2018-12-17 13:50 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fe241bc7-1547-b2ef-eae9-53326a3f5017@gmail.com \
    --to=straube.linux@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox