mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Kernel: Make NetworkAdapter::class_name() return a StringView
This commit is contained in:
parent
68f2250768
commit
e4dfb0fdf3
7 changed files with 7 additions and 7 deletions
|
@ -37,7 +37,7 @@ private:
|
|||
RTL8168NetworkAdapter(PCI::Address, u8 irq);
|
||||
|
||||
virtual bool handle_irq(const RegisterState&) override;
|
||||
virtual const char* class_name() const override { return "RTL8168NetworkAdapter"; }
|
||||
virtual StringView class_name() const override { return "RTL8168NetworkAdapter"sv; }
|
||||
|
||||
struct [[gnu::packed]] TXDescriptor {
|
||||
volatile u16 frame_length; // top 2 bits are reserved
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue