[PATCH 2/2] rtlwifi: Add explicit values to hw_variables enum

Larry Finger Larry.Finger at lwfinger.net
Sat Sep 24 18:06:46 UTC 2016


On 09/24/2016 12:43 PM, Joe Perches wrote:
> On Sat, 2016-09-24 at 11:57 -0500, Larry Finger wrote:
>> The entries in this enum may be referenced in debug output. Adding explicit
>> values simplifies the lookup.
>
> A negative aspect to this style is forced renumbering
> if a HW_VAR entry is inserted.
>
> Is that possible?

Any new one would be added at the end.

Larry




More information about the devel mailing list