Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 240249 Details for
Bug 296539
Uvesafb fails on 2.6.32-gentoo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch to fix uvesafb after the change in the definition of abs()
uvesafb_abs_fix.patch (text/plain), 544 bytes, created by
Michal Januszewski (RETIRED)
on 2010-07-27 00:42:54 UTC
(
hide
)
Description:
A patch to fix uvesafb after the change in the definition of abs()
Filename:
MIME Type:
Creator:
Michal Januszewski (RETIRED)
Created:
2010-07-27 00:42:54 UTC
Size:
544 bytes
patch
obsolete
>diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c >index 7b8839e..4ebc300 100644 >--- a/drivers/video/uvesafb.c >+++ b/drivers/video/uvesafb.c >@@ -317,7 +317,8 @@ static void uvesafb_setup_var(struct fb_var_screeninfo *var, > static int uvesafb_vbe_find_mode(struct uvesafb_par *par, > int xres, int yres, int depth, unsigned char flags) > { >- int i, match = -1, h = 0, d = 0x7fffffff; >+ int i, match = -1; >+ unsigned int h = 0, d = UINT_MAX; > > for (i = 0; i < par->vbe_modes_cnt; i++) { > h = abs(par->vbe_modes[i].x_res - xres) +
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 296539
:
232545
|
240249
|
240313
|
240365
|
240379
|
240409
|
263871