diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-03-24 12:03:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-27 08:56:04 +0100 |
commit | 4c6170d1ae2ccb20ed8d06d191868ed01e6bece0 (patch) | |
tree | 1ac4b79fa16b44cd83ee73eb78060347b45ec3df /lib/mpi/mpiutil.c | |
parent | a504d246d2129b6fe40059d372288ffb36e4588b (diff) |
tools: ynl: default to treating enums as flags for mask generation
I was a bit too optimistic in commit bf51d27704c9 ("tools: ynl: fix
get_mask utility routine"), not every mask we use is necessarily
coming from an enum of type "flags". We also allow flipping an
enum into flags on per-attribute basis. That's done by
the 'enum-as-flags' property of an attribute.
Restore this functionality, it's not currently used by any in-tree
family.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions