diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-10-06 13:44:35 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-09 19:44:57 -0700 |
commit | e18f3dc2beaa5055e27334cd2d8b492bc3e9b3a4 (patch) | |
tree | ee0be32839dda17d748daea6e28aa9a999c69d88 /net/ipv4/tcp_input.c | |
parent | c0423539559547d49cb62e76574599593829dcf8 (diff) | |
download | linux-e18f3dc2beaa5055e27334cd2d8b492bc3e9b3a4.tar.gz linux-e18f3dc2beaa5055e27334cd2d8b492bc3e9b3a4.tar.bz2 linux-e18f3dc2beaa5055e27334cd2d8b492bc3e9b3a4.zip |
tools: ynl-gen: lift type requirement for attribute subsets
In case an attribute is used in a subset, the type has to be currently
specified. As the attribute is already defined in the original set, this
is a redundant information in yaml file, moreover, may lead to
inconsistencies.
Example:
attribute-sets:
...
name: pin
enum-name: dpll_a_pin
attributes:
...
-
name: parent-id
type: u32
...
-
name: pin-parent-device
subset-of: pin
attributes:
-
name: parent-id
type: u32 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Remove the requirement from schema files to specify the "type" for
attribute subsets.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20231006114436.1725425-2-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions