Re: [PATCH 2/3] mdacon: make mda_vram_base u16 *

From: Bartlomiej Zolnierkiewicz
Date: Wed Jun 14 2017 - 09:29:08 EST


On Friday, May 12, 2017 10:08:03 AM Jiri Slaby wrote:
> Given every user of mda_vram_base expects a pointer, let
> mda_vram_base be a pointer to u16.
>
> The offset calculation in mda_detect had to be adjusted by / 2 (due to
> different pointer arithmetic now).
>
> We introduce a cast to a value returned from VGA_MAP_MEM. But I will
> change VGA_MAP_MEM to return a pointer later too. But vgacon needs a
> similar change first.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Cc: Tomi Valkeinen <tomi.valkeinen@xxxxxx>
> Cc: <linux-fbdev@xxxxxxxxxxxxxxx>

Patch queued for 4.13, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics