1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:27:44 +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 @@ protected:
E1000NetworkAdapter(PCI::Address, u8 irq);
virtual bool handle_irq(const RegisterState&) override;
virtual const char* class_name() const override { return "E1000NetworkAdapter"; }
virtual StringView class_name() const override { return "E1000NetworkAdapter"sv; }
struct [[gnu::packed]] e1000_rx_desc {
volatile uint64_t addr { 0 };