Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 313734 Details for
Bug 458340
parse_pmtmr() receives a (possible) ulong then stores that in a u32 [mrg-1]
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch for -76
bz458340--parse_pmtmr-stores_ulong_in_u32.patch (text/plain), 1.11 KB, created by
Luis Claudio R. Goncalves
on 2008-08-07 19:21:55 UTC
(
hide
)
Description:
Proposed patch for -76
Filename:
MIME Type:
Creator:
Luis Claudio R. Goncalves
Created:
2008-08-07 19:21:55 UTC
Size:
1.11 KB
patch
obsolete
>https://bugzilla.redhat.com/show_bug.cgi?id=458340 > >Description of problem: > >From drivers/clocksource/acpi_pm.c: > >u32 pmtmr_ioport __read_mostly; >... > >/* > * Allow an override of the IOPort. Stupid BIOSes do not tell us about > * the PMTimer, but we might know where it is. > */ >static int __init parse_pmtmr(char *arg) >{ > unsigned long base; > ... > base = simple_strtoul(arg, &e, 16); > ... > pmtmr_ioport = base; > ... >} > >Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com> > >--- >diff --git a/drivers/clocksource/acpi_pm.c b/drivers/clocksource/acpi_pm_new.c >index a9e96a9..bd9ffad 100644 >--- a/drivers/clocksource/acpi_pm.c >+++ b/drivers/clocksource/acpi_pm_new.c >@@ -222,12 +222,12 @@ fs_initcall(init_acpi_pm_clocksource); > */ > static int __init parse_pmtmr(char *arg) > { >- unsigned long base; >+ u32 base; > char *e; > >- base = simple_strtoul(arg, &e, 16); >+ base = (u32) simple_strtoul(arg, &e, 16); > >- printk(KERN_INFO "PMTMR IOPort override: 0x%04lx -> 0x%04lx\n", >+ printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04x\n", > pmtmr_ioport, base); > pmtmr_ioport = base; >
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 458340
: 313734