diff options
author | Liav A <liavalb@gmail.com> | 2021-12-12 16:33:08 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-14 09:01:33 +0100 |
commit | 478f54389903d34a0a5b670d6606c5cc0db1dd4d (patch) | |
tree | 854c0afe4bb7ec267a592f8039db33ff2eb9f4d4 /Kernel/Bus/USB/USBController.h | |
parent | 4daf07e69fe8ef641bcb39909f17df7cbfe88a01 (diff) | |
download | serenity-478f54389903d34a0a5b670d6606c5cc0db1dd4d.zip |
Kernel/SysFS: Prevent allocation for component name during construction
Instead, allocate before constructing the object and pass NonnullOwnPtr
of KString to the object if needed. Some classes can determine their
names as they have a known attribute to look for or have a static name.
Diffstat (limited to 'Kernel/Bus/USB/USBController.h')
0 files changed, 0 insertions, 0 deletions