Re: [PATCH v1 1/6] vgacon: Set VGA struct resource types
From: Bartlomiej Zolnierkiewicz
Date: Wed Jan 03 2018 - 10:10:56 EST
On Monday, December 04, 2017 06:40:04 PM Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
>
> Set the resource type when we reserve VGA-related I/O port resources.
>
> The resource code doesn't actually look at the type, so it inserts
> resources without a type in the tree correctly even without this change.
> But if we ever print a resource without a type, it looks like this:
>
> vga+ [??? 0x000003c0-0x000003df flags 0x0]
>
> Setting the type means it will be printed correctly as:
>
> vga+ [io 0x000003c0-0x000003df]
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics