mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
tools: ynl-gen: fill in implementations for TypeUnused
Fill in more empty handlers for TypeUnused. When 'unused' attr gets specified in a nested set we have to cleanly skip it during code generation. Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://lore.kernel.org/r/20231213231432.2944749-5-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
f6805072c2
commit
f967a498fc
@ -264,6 +264,15 @@ class TypeUnused(Type):
|
||||
def attr_policy(self, cw):
|
||||
pass
|
||||
|
||||
def attr_put(self, ri, var):
|
||||
pass
|
||||
|
||||
def attr_get(self, ri, var, first):
|
||||
pass
|
||||
|
||||
def setter(self, ri, space, direction, deref=False, ref=None):
|
||||
pass
|
||||
|
||||
|
||||
class TypePad(Type):
|
||||
def presence_type(self):
|
||||
|
Loading…
Reference in New Issue
Block a user