mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
tools/net/ynl: add s8, s16 to valid scalars in ynl-gen-c
Add the missing s8 and s16 scalar types to the list of recognised scalars in ynl-gen-c. Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Link: https://patch.msgid.link/20250211120127.84858-6-donald.hunter@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
c578bc3a00
commit
8798892b80
|
|
@ -1440,7 +1440,7 @@ class CodeWriter:
|
|||
self._ifdef_block = config_option
|
||||
|
||||
|
||||
scalars = {'u8', 'u16', 'u32', 'u64', 's32', 's64', 'uint', 'sint'}
|
||||
scalars = {'u8', 'u16', 'u32', 'u64', 's8', 's16', 's32', 's64', 'uint', 'sint'}
|
||||
|
||||
direction_to_suffix = {
|
||||
'reply': '_rsp',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user