mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
netlink: specs: clean up spaces in brackets
Clean up all space inside brackets errors reported by yamllint in
the netlink specs:
error too many spaces inside brackets (brackets)
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> # mptcp_pm.yaml
Link: https://patch.msgid.link/20250610125944.85265-3-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
ce6bd277e1
commit
880d43ca9a
File diff suppressed because it is too large
Load Diff
@@ -445,7 +445,7 @@ operations:
|
||||
doc: |
|
||||
Get id of dpll device that matches given attributes
|
||||
attribute-set: dpll
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: dpll-lock-doit
|
||||
@@ -464,7 +464,7 @@ operations:
|
||||
doc: |
|
||||
Get list of DPLL devices (dump) or attributes of a single dpll device
|
||||
attribute-set: dpll
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: dpll-pre-doit
|
||||
@@ -491,7 +491,7 @@ operations:
|
||||
name: device-set
|
||||
doc: Set attributes for a DPLL device
|
||||
attribute-set: dpll
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: dpll-pre-doit
|
||||
@@ -519,7 +519,7 @@ operations:
|
||||
doc: |
|
||||
Get id of a pin that matches given attributes
|
||||
attribute-set: pin
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: dpll-lock-doit
|
||||
@@ -547,7 +547,7 @@ operations:
|
||||
a given dpll device
|
||||
- do request with target dpll and target pin - single pin attributes
|
||||
attribute-set: pin
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: dpll-pin-pre-doit
|
||||
@@ -585,7 +585,7 @@ operations:
|
||||
name: pin-set
|
||||
doc: Set attributes of a target pin
|
||||
attribute-set: pin
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: dpll-pin-pre-doit
|
||||
|
||||
@@ -12,7 +12,7 @@ definitions:
|
||||
name: udp-tunnel-type
|
||||
enum-name:
|
||||
type: enum
|
||||
entries: [ vxlan, geneve, vxlan-gpe ]
|
||||
entries: [vxlan, geneve, vxlan-gpe]
|
||||
enum-cnt-name: __ethtool-udp-tunnel-type-cnt
|
||||
render-max: true
|
||||
-
|
||||
@@ -93,11 +93,11 @@ definitions:
|
||||
header: linux/ethtool.h
|
||||
type: enum
|
||||
name-prefix: phy-upstream
|
||||
entries: [ mac, phy ]
|
||||
entries: [mac, phy]
|
||||
-
|
||||
name: tcp-data-split
|
||||
type: enum
|
||||
entries: [ unknown, disabled, enabled ]
|
||||
entries: [unknown, disabled, enabled]
|
||||
-
|
||||
name: hwtstamp-source
|
||||
doc: Source of the hardware timestamp
|
||||
@@ -1224,7 +1224,7 @@ attribute-sets:
|
||||
-
|
||||
name: stat
|
||||
type: u64
|
||||
type-value: [ id ]
|
||||
type-value: [id]
|
||||
-
|
||||
name: hist-rx
|
||||
type: nest
|
||||
|
||||
@@ -18,7 +18,7 @@ definitions:
|
||||
name: encap_type
|
||||
name-prefix: fou-encap-
|
||||
enum-name:
|
||||
entries: [ unspec, direct, gue ]
|
||||
entries: [unspec, direct, gue]
|
||||
|
||||
attribute-sets:
|
||||
-
|
||||
@@ -81,8 +81,8 @@ operations:
|
||||
doc: Add port.
|
||||
attribute-set: fou
|
||||
|
||||
dont-validate: [ strict, dump ]
|
||||
flags: [ admin-perm ]
|
||||
dont-validate: [strict, dump]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
request: &all_attrs
|
||||
@@ -103,8 +103,8 @@ operations:
|
||||
doc: Delete port.
|
||||
attribute-set: fou
|
||||
|
||||
dont-validate: [ strict, dump ]
|
||||
flags: [ admin-perm ]
|
||||
dont-validate: [strict, dump]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
request: &select_attrs
|
||||
@@ -122,7 +122,7 @@ operations:
|
||||
name: get
|
||||
doc: Get tunnel info.
|
||||
attribute-set: fou
|
||||
dont-validate: [ strict, dump ]
|
||||
dont-validate: [strict, dump]
|
||||
|
||||
do:
|
||||
request: *select_attrs
|
||||
|
||||
@@ -16,17 +16,17 @@ definitions:
|
||||
type: enum
|
||||
name: handler-class
|
||||
value-start: 0
|
||||
entries: [ none, tlshd, max ]
|
||||
entries: [none, tlshd, max]
|
||||
-
|
||||
type: enum
|
||||
name: msg-type
|
||||
value-start: 0
|
||||
entries: [ unspec, clienthello, serverhello ]
|
||||
entries: [unspec, clienthello, serverhello]
|
||||
-
|
||||
type: enum
|
||||
name: auth
|
||||
value-start: 0
|
||||
entries: [ unspec, unauth, psk, x509 ]
|
||||
entries: [unspec, unauth, psk, x509]
|
||||
|
||||
attribute-sets:
|
||||
-
|
||||
@@ -95,7 +95,7 @@ operations:
|
||||
name: accept
|
||||
doc: Handler retrieves next queued handshake request
|
||||
attribute-set: accept
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
|
||||
@@ -26,7 +26,7 @@ operations:
|
||||
name: server-set
|
||||
doc: set the lockd server parameters
|
||||
attribute-set: server
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
|
||||
@@ -277,8 +277,8 @@ operations:
|
||||
name: add-addr
|
||||
doc: Add endpoint
|
||||
attribute-set: endpoint
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do: &add-addr-attrs
|
||||
request:
|
||||
attributes:
|
||||
@@ -287,14 +287,14 @@ operations:
|
||||
name: del-addr
|
||||
doc: Delete endpoint
|
||||
attribute-set: endpoint
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do: *add-addr-attrs
|
||||
-
|
||||
name: get-addr
|
||||
doc: Get endpoint information
|
||||
attribute-set: attr
|
||||
dont-validate: [ strict ]
|
||||
dont-validate: [strict]
|
||||
do: &get-addr-attrs
|
||||
request:
|
||||
attributes:
|
||||
@@ -311,15 +311,15 @@ operations:
|
||||
name: flush-addrs
|
||||
doc: Flush addresses
|
||||
attribute-set: endpoint
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do: *add-addr-attrs
|
||||
-
|
||||
name: set-limits
|
||||
doc: Set protocol limits
|
||||
attribute-set: attr
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do: &mptcp-limits
|
||||
request:
|
||||
attributes:
|
||||
@@ -329,7 +329,7 @@ operations:
|
||||
name: get-limits
|
||||
doc: Get protocol limits
|
||||
attribute-set: attr
|
||||
dont-validate: [ strict ]
|
||||
dont-validate: [strict]
|
||||
do: &mptcp-get-limits
|
||||
request:
|
||||
attributes:
|
||||
@@ -343,8 +343,8 @@ operations:
|
||||
name: set-flags
|
||||
doc: Change endpoint flags
|
||||
attribute-set: attr
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do: &mptcp-set-flags
|
||||
request:
|
||||
attributes:
|
||||
@@ -355,8 +355,8 @@ operations:
|
||||
name: announce
|
||||
doc: Announce new address
|
||||
attribute-set: attr
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do: &announce-add
|
||||
request:
|
||||
attributes:
|
||||
@@ -366,8 +366,8 @@ operations:
|
||||
name: remove
|
||||
doc: Announce removal
|
||||
attribute-set: attr
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
@@ -377,8 +377,8 @@ operations:
|
||||
name: subflow-create
|
||||
doc: Create subflow
|
||||
attribute-set: attr
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do: &sf-create
|
||||
request:
|
||||
attributes:
|
||||
@@ -389,6 +389,6 @@ operations:
|
||||
name: subflow-destroy
|
||||
doc: Destroy subflow
|
||||
attribute-set: attr
|
||||
dont-validate: [ strict ]
|
||||
flags: [ uns-admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [uns-admin-perm]
|
||||
do: *sf-create
|
||||
|
||||
@@ -244,7 +244,7 @@ operations:
|
||||
The set operation can't be used to create a @node scope shaper,
|
||||
use the @group operation instead.
|
||||
attribute-set: net-shaper
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: net-shaper-nl-pre-doit
|
||||
@@ -275,7 +275,7 @@ operations:
|
||||
node with infinite bandwidth. The queue's implicit node
|
||||
feeds an implicit RR node at the root of the hierarchy.
|
||||
attribute-set: net-shaper
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: net-shaper-nl-pre-doit
|
||||
@@ -306,7 +306,7 @@ operations:
|
||||
full identifier, comprising @binding and @handle, is provided
|
||||
as the reply.
|
||||
attribute-set: net-shaper
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
pre: net-shaper-nl-pre-doit
|
||||
|
||||
@@ -77,11 +77,11 @@ definitions:
|
||||
-
|
||||
name: queue-type
|
||||
type: enum
|
||||
entries: [ rx, tx ]
|
||||
entries: [rx, tx]
|
||||
-
|
||||
name: qstats-scope
|
||||
type: flags
|
||||
entries: [ queue ]
|
||||
entries: [queue]
|
||||
|
||||
attribute-sets:
|
||||
-
|
||||
@@ -721,7 +721,7 @@ operations:
|
||||
name: bind-rx
|
||||
doc: Bind dmabuf to netdev
|
||||
attribute-set: dmabuf
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
@@ -735,7 +735,7 @@ operations:
|
||||
name: napi-set
|
||||
doc: Set configurable NAPI instance settings.
|
||||
attribute-set: napi
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
@@ -757,7 +757,7 @@ operations:
|
||||
- id
|
||||
|
||||
kernel-family:
|
||||
headers: [ "net/netdev_netlink.h"]
|
||||
headers: ["net/netdev_netlink.h"]
|
||||
sock-priv: struct netdev_nl_sock
|
||||
|
||||
mcast-groups:
|
||||
|
||||
@@ -151,7 +151,7 @@ operations:
|
||||
name: threads-set
|
||||
doc: set the number of running threads
|
||||
attribute-set: server
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
@@ -174,7 +174,7 @@ operations:
|
||||
name: version-set
|
||||
doc: set nfs enabled versions
|
||||
attribute-set: server-proto
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
@@ -191,7 +191,7 @@ operations:
|
||||
name: listener-set
|
||||
doc: set nfs running sockets
|
||||
attribute-set: server-sock
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
@@ -208,7 +208,7 @@ operations:
|
||||
name: pool-mode-set
|
||||
doc: set the current server pool-mode
|
||||
attribute-set: pool-mode
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
do:
|
||||
request:
|
||||
attributes:
|
||||
|
||||
@@ -76,12 +76,12 @@ attribute-sets:
|
||||
-
|
||||
name: policy
|
||||
type: nest-type-value
|
||||
type-value: [ policy-id, attr-id ]
|
||||
type-value: [policy-id, attr-id]
|
||||
nested-attributes: policy-attrs
|
||||
-
|
||||
name: op-policy
|
||||
type: nest-type-value
|
||||
type-value: [ op-id ]
|
||||
type-value: [op-id]
|
||||
nested-attributes: op-policy-attrs
|
||||
-
|
||||
name: op
|
||||
|
||||
@@ -19,7 +19,7 @@ definitions:
|
||||
-
|
||||
type: enum
|
||||
name: cipher-alg
|
||||
entries: [ none, aes-gcm, chacha20-poly1305 ]
|
||||
entries: [none, aes-gcm, chacha20-poly1305]
|
||||
-
|
||||
type: enum
|
||||
name: del-peer-reason
|
||||
@@ -32,7 +32,7 @@ definitions:
|
||||
-
|
||||
type: enum
|
||||
name: key-slot
|
||||
entries: [ primary, secondary ]
|
||||
entries: [primary, secondary]
|
||||
|
||||
attribute-sets:
|
||||
-
|
||||
@@ -241,7 +241,7 @@ operations:
|
||||
-
|
||||
name: peer-new
|
||||
attribute-set: ovpn
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
doc: Add a remote peer
|
||||
do:
|
||||
pre: ovpn-nl-pre-doit
|
||||
@@ -253,7 +253,7 @@ operations:
|
||||
-
|
||||
name: peer-set
|
||||
attribute-set: ovpn
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
doc: modify a remote peer
|
||||
do:
|
||||
pre: ovpn-nl-pre-doit
|
||||
@@ -265,7 +265,7 @@ operations:
|
||||
-
|
||||
name: peer-get
|
||||
attribute-set: ovpn
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
doc: Retrieve data about existing remote peers (or a specific one)
|
||||
do:
|
||||
pre: ovpn-nl-pre-doit
|
||||
@@ -287,7 +287,7 @@ operations:
|
||||
-
|
||||
name: peer-del
|
||||
attribute-set: ovpn
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
doc: Delete existing remote peer
|
||||
do:
|
||||
pre: ovpn-nl-pre-doit
|
||||
@@ -305,7 +305,7 @@ operations:
|
||||
-
|
||||
name: key-new
|
||||
attribute-set: ovpn
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
doc: Add a cipher key for a specific peer
|
||||
do:
|
||||
pre: ovpn-nl-pre-doit
|
||||
@@ -317,7 +317,7 @@ operations:
|
||||
-
|
||||
name: key-get
|
||||
attribute-set: ovpn
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
doc: Retrieve non-sensitive data about peer key and cipher
|
||||
do:
|
||||
pre: ovpn-nl-pre-doit
|
||||
@@ -332,7 +332,7 @@ operations:
|
||||
-
|
||||
name: key-swap
|
||||
attribute-set: ovpn
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
doc: Swap primary and secondary session keys for a specific peer
|
||||
do:
|
||||
pre: ovpn-nl-pre-doit
|
||||
@@ -351,7 +351,7 @@ operations:
|
||||
-
|
||||
name: key-del
|
||||
attribute-set: ovpn
|
||||
flags: [ admin-perm ]
|
||||
flags: [admin-perm]
|
||||
doc: Delete cipher key for a specific peer
|
||||
do:
|
||||
pre: ovpn-nl-pre-doit
|
||||
|
||||
@@ -21,7 +21,7 @@ definitions:
|
||||
type: enum
|
||||
enum-name: ovs-vport-type
|
||||
name-prefix: ovs-vport-type-
|
||||
entries: [ unspec, netdev, internal, gre, vxlan, geneve ]
|
||||
entries: [unspec, netdev, internal, gre, vxlan, geneve]
|
||||
-
|
||||
name: ovs-vport-stats
|
||||
type: struct
|
||||
|
||||
@@ -133,7 +133,7 @@ operations:
|
||||
doc: Retrieve metrics.
|
||||
attribute-set: tcp-metrics
|
||||
|
||||
dont-validate: [ strict, dump ]
|
||||
dont-validate: [strict, dump]
|
||||
|
||||
do:
|
||||
request: &sel_attrs
|
||||
@@ -162,8 +162,8 @@ operations:
|
||||
doc: Delete metrics.
|
||||
attribute-set: tcp-metrics
|
||||
|
||||
dont-validate: [ strict, dump ]
|
||||
flags: [ admin-perm ]
|
||||
dont-validate: [strict, dump]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
request: *sel_attrs
|
||||
|
||||
@@ -152,7 +152,7 @@ operations:
|
||||
doc: No operation
|
||||
value: 0
|
||||
attribute-set: team
|
||||
dont-validate: [ strict ]
|
||||
dont-validate: [strict]
|
||||
|
||||
do:
|
||||
# Actually it only reply the team netlink family
|
||||
@@ -164,8 +164,8 @@ operations:
|
||||
name: options-set
|
||||
doc: Set team options
|
||||
attribute-set: team
|
||||
dont-validate: [ strict ]
|
||||
flags: [ admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
request: &option_attrs
|
||||
@@ -178,8 +178,8 @@ operations:
|
||||
name: options-get
|
||||
doc: Get team options info
|
||||
attribute-set: team
|
||||
dont-validate: [ strict ]
|
||||
flags: [ admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
request:
|
||||
@@ -191,8 +191,8 @@ operations:
|
||||
name: port-list-get
|
||||
doc: Get team ports info
|
||||
attribute-set: team
|
||||
dont-validate: [ strict ]
|
||||
flags: [ admin-perm ]
|
||||
dont-validate: [strict]
|
||||
flags: [admin-perm]
|
||||
|
||||
do:
|
||||
request:
|
||||
|
||||
Reference in New Issue
Block a user