Re: [PATCH 2.4.21-rc1] vesafb with large memory

Alan Cox
2003-04-30T12:13:18Z

On Mer, 2003-04-30 at 09:09, Adam Mercer wrote:
> - video_size = screen_info.lfb_size * 65536;

The above is correct. It returns the size of the frame buffer

> + video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp;
> video_visual = (video_bpp == 8) ?
> FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; #

The change computes the mode size. Thats probably safe for the ioremap
range