Re: [PATCH 3/3] atyfb: Fix 64 bits resources on 32 bits archs

2008-04-22 Thread Benjamin Herrenschmidt
On Tue, 2008-04-22 at 19:43 +0400, Sergei Shtylyov wrote: > Not sure what that change gives us -- this function mostly treats 'addr' > as unsigned long (casting it to char/void *), ot compares it to 'unsigned > long' 'base' variable -- which should be made 'resource_size_t' in its turn > be

Re: [PATCH 3/3] atyfb: Fix 64 bits resources on 32 bits archs

2008-04-22 Thread Sergei Shtylyov
Benjamin Herrenschmidt wrote: This fixes atyfb to not truncate 64 bits resources on 32 bits platforms. Unfortunately, there are still issues with addresses returned to userspace via struct fb_fix_screeninfo. This will have to be dealt with separately. Signed-off-by: Benjamin Herrenschmidt <[E

[PATCH 3/3] atyfb: Fix 64 bits resources on 32 bits archs

2008-04-21 Thread Benjamin Herrenschmidt
This fixes atyfb to not truncate 64 bits resources on 32 bits platforms. Unfortunately, there are still issues with addresses returned to userspace via struct fb_fix_screeninfo. This will have to be dealt with separately. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- drivers/vide