1
Fork 0
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:
Andreas Kling 2021-07-11 17:59:38 +02:00
parent 68f2250768
commit e4dfb0fdf3
7 changed files with 7 additions and 7 deletions

View file

@ -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