Skip to content

Commit fdb8050

Browse files
donaldhkuba-moo
authored andcommitted
netlink: specs: add s8, s16 to genetlink schemas
Add s8 and s16 types to the genetlink schemas to align scalar types across all schemas. Signed-off-by: Donald Hunter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 718a836 commit fdb8050

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Documentation/netlink/genetlink-c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ properties:
161161
type: string
162162
type: &attr-type
163163
enum: [ unused, pad, flag, binary,
164-
uint, sint, u8, u16, u32, u64, s32, s64,
164+
uint, sint, u8, u16, u32, u64, s8, s16, s32, s64,
165165
string, nest, indexed-array, nest-type-value ]
166166
doc:
167167
description: Documentation of the attribute.

Documentation/netlink/genetlink-legacy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ properties:
207207
type: &attr-type
208208
description: The netlink attribute type
209209
enum: [ unused, pad, flag, binary, bitfield32,
210-
uint, sint, u8, u16, u32, u64, s32, s64,
210+
uint, sint, u8, u16, u32, u64, s8, s16, s32, s64,
211211
string, nest, indexed-array, nest-type-value ]
212212
doc:
213213
description: Documentation of the attribute.

Documentation/netlink/genetlink.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ properties:
124124
type: string
125125
type: &attr-type
126126
enum: [ unused, pad, flag, binary,
127-
uint, sint, u8, u16, u32, u64, s32, s64,
127+
uint, sint, u8, u16, u32, u64, s8, s16, s32, s64,
128128
string, nest, indexed-array, nest-type-value ]
129129
doc:
130130
description: Documentation of the attribute.

0 commit comments

Comments
 (0)