Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1470943

Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements with macro

From Claudiu Beznea <claudiu.beznea@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements with macro
Date 2016-08-26 20:50 +0200
Message-ID <saumt-2ih-5@gated-at.bofh.it> (permalink)
References <satA6-1Kj-23@gated-at.bofh.it> <satJM-22D-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


I will do it soon.

Thanks,
Claudiu

On Fri, Aug 26, 2016 at 9:07 PM, Joe Perches <joe@perches.com> wrote:
> On Fri, 2016-08-26 at 20:58 +0300, Claudiu Beznea wrote:
>> This patch removes multiple switch-case statements
>> with a new macro. The macro will generate the
>> corresponding bit mask based on the key index
>> received as input.
>
> Can you go a little farther and remove the
> #define DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey<#>
> and uses too?
>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] Staging: wlan-ng: replace switch-case statements with macro Claudiu Beznea <claudiu.beznea@gmail.com> - 2016-08-26 20:00 +0200
  Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements  with macro Joe Perches <joe@perches.com> - 2016-08-26 20:10 +0200
    Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements with macro Claudiu Beznea <claudiu.beznea@gmail.com> - 2016-08-26 20:50 +0200

csiph-web