[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230718201705.06fadcc0@kernel.org>
Date: Tue, 18 Jul 2023 20:17:05 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>
Cc: donald.hunter@...il.com, netdev@...r.kernel.org, davem@...emloft.net,
pabeni@...hat.com, edumazet@...gle.com
Subject: Re: [PATCH net-next v3 1/2] tools: ynl-gen: fix enum index in
_decode_enum(..)
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
--
pw-bot: cr
Powered by blists - more mailing lists