All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Cho <tony.cho@atmel.com>
To: Mike Rapoport <mike.rapoport@gmail.com>
Cc: <gregkh@linuxfoundation.org>, <devel@driverdev.osuosl.org>,
	<rachel.kim@atmel.com>, <chris.park@atmel.com>,
	<austin.shin@atmel.com>, <linux-wireless@vger.kernel.org>,
	<johnny.kim@atmel.com>, <Nicolas.FERRE@atmel.com>,
	<adel.noureldin@atmel.com>, <leo.kim@atmel.com>,
	<adham.abozaeid@atmel.com>
Subject: Re: [PATCH 02/10] staging: wilc1000: remove typedef from tenuWIDtype
Date: Wed, 7 Oct 2015 14:30:37 +0900	[thread overview]
Message-ID: <5614ADFD.2020200@atmel.com> (raw)
In-Reply-To: <20151006151459.GA25750@zed.theccd.local>



On 2015년 10월 07일 00:14, Mike Rapoport wrote:
> On Tue, Oct 06, 2015 at 06:42:13PM +0900, Tony Cho wrote:
>> From: Leo Kim <leo.kim@atmel.com>
>>
>> This patch remove typedef from the enum tenuWIDtype
>> and rename it to WID_TYPE.
>>
>> Signed-off-by: Leo Kim <leo.kim@atmel.com>
>> Signed-off-by: Tony Cho <tony.cho@atmel.com>
>> ---
>>   drivers/staging/wilc1000/coreconfigurator.h | 2 +-
>>   drivers/staging/wilc1000/host_interface.h   | 2 +-
>>   drivers/staging/wilc1000/wilc_wlan_if.h     | 5 ++---
>>   3 files changed, 4 insertions(+), 5 deletions(-)
>>
>> diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
>> index 306efc9..02faf58 100644
> [ snip ]
>
>> diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h
>> index 8fec64d..be972af 100644
>> --- a/drivers/staging/wilc1000/wilc_wlan_if.h
>> +++ b/drivers/staging/wilc1000/wilc_wlan_if.h
>> @@ -315,7 +315,7 @@ typedef enum {
>>   	SW_TRIGGER_ABORT,
>>   } TX_ABORT_OPTION_T;
>>   
>> -typedef enum {
>> +enum WID_TYPE {
> The enum name should be lowecase, i.e. 'enum wid_type'.
>
All of enumerated types aren't uppercase. Can we mark outstanding enumeration with uppercase in specific file?
If this doesn't violate any rules in Linux coding style, I want to go as it did.

Thanks for your advice,

Tony.

>>   	WID_CHAR		= 0,
>>   	WID_SHORT		= 1,
>>   	WID_INT			= 2,
>> @@ -326,8 +326,7 @@ typedef enum {
>>   	WID_ADR			= 7,
>>   	WID_UNDEF		= 8,
>>   	WID_TYPE_FORCE_32BIT	= 0xFFFFFFFF
>> -
>> -} WID_TYPE_T, tenuWIDtype;
>> +};
>>   
>>   typedef enum {
>>   	WID_NIL				= 0xffff,
>> -- 
>> 1.9.1
> --
> Sincerely yours,
> Mike.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2015-10-07  5:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06  9:42 [PATCH 01/10] staging: wilc1000: remove typedef from tstrWID Tony Cho
2015-10-06  9:42 ` [PATCH 02/10] staging: wilc1000: remove typedef from tenuWIDtype Tony Cho
2015-10-06 15:14   ` Mike Rapoport
2015-10-07  5:30     ` Tony Cho [this message]
2015-10-06  9:42 ` [PATCH 03/10] staging: wilc1000: rename the member variable, enuWIDtype of wid Tony Cho
2015-10-06  9:42 ` [PATCH 04/10] staging: wilc1000: rename the member variable, u16WIDid " Tony Cho
2015-10-06  9:42 ` [PATCH 05/10] staging: wilc1000: rename the member variable, s32ValueSize " Tony Cho
2015-10-06  9:42 ` [PATCH 06/10] staging: wilc1000: rename the member variable, ps8WidVal " Tony Cho
2015-10-06  9:42 ` [PATCH 07/10] staging: wilc1000: remove unused struct tstrWidJoinReqExt Tony Cho
2015-10-06  9:42 ` [PATCH 08/10] staging: wilc1000: remove unused struct tstrBssTable Tony Cho
2015-10-06  9:42 ` [PATCH 09/10] staging: wilc1000: remove typedef from tstrJoinBssParam Tony Cho
2015-10-06  9:42 ` [PATCH 10/10] staging: wilc1000: remove _tstrJoinParam from join_bss_param Tony Cho
2015-10-08 10:00 ` [PATCH 01/10] staging: wilc1000: remove typedef from tstrWID 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=5614ADFD.2020200@atmel.com \
    --to=tony.cho@atmel.com \
    --cc=Nicolas.FERRE@atmel.com \
    --cc=adel.noureldin@atmel.com \
    --cc=adham.abozaeid@atmel.com \
    --cc=austin.shin@atmel.com \
    --cc=chris.park@atmel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=johnny.kim@atmel.com \
    --cc=leo.kim@atmel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mike.rapoport@gmail.com \
    --cc=rachel.kim@atmel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.