[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DM6PR11MB46571F6F912B6B8B894CEB9C9B39A@DM6PR11MB4657.namprd11.prod.outlook.com>
Date: Wed, 19 Jul 2023 21:09:54 +0000
From: "Kubalewski, Arkadiusz" <arkadiusz.kubalewski@...el.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: "donald.hunter@...il.com" <donald.hunter@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>, "davem@...emloft.net"
<davem@...emloft.net>, "pabeni@...hat.com" <pabeni@...hat.com>,
"edumazet@...gle.com" <edumazet@...gle.com>
Subject: RE: [PATCH net-next v3 1/2] tools: ynl-gen: fix enum index in
_decode_enum(..)
>From: Jakub Kicinski <kuba@...nel.org>
>Sent: Wednesday, July 19, 2023 5:17 AM
>
>On Tue, 18 Jul 2023 18:22:24 +0200 Arkadiusz Kubalewski wrote:
>> - i = attr_spec.get('value-start', 0)
>> if 'enum-as-flags' in attr_spec and attr_spec['enum-as-flags']:
>> + i = attr_spec.get('value-start', 0)
>
>Just:
> i = 0
Sure, will do.
Thank you!
Arkadiusz
>--
>pw-bot: cr
Powered by blists - more mailing lists