summaryrefslogtreecommitdiff
path: root/net/core/rtnl_net_debug.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-10-10 18:12:48 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-10-15 14:06:49 +0300
commitbcbbfaa2612d7d0e9c3eafade5f6e93c3672f34f (patch)
treef19a80d144d788d995cd66c481f2269a18513919 /net/core/rtnl_net_debug.c
parent97802ffca711cb3fd8adfd9db38e005970d59743 (diff)
downloadlinux-bcbbfaa2612d7d0e9c3eafade5f6e93c3672f34f.tar.xz
tools: ynl-gen: use names of constants in generated limits
YNL specs can use string expressions for limits, like s32-min or u16-max. We convert all of those into their numeric values when generating the code, which isn't always helpful. Try to retain the string representations in the output. Any sort of calculations still need the integers. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Joe Damato <jdamato@fastly.com> Link: https://patch.msgid.link/20241010151248.2049755-1-kuba@kernel.org [pabeni@redhat.com: regenerated netdev-genl-gen.c] Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core/rtnl_net_debug.c')
0 files changed, 0 insertions, 0 deletions