git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bf6af
)
PCI/ASPM: Use standard parsing functions for sysfs setters
author
Chris J Arges
<chris.j.arges@canonical.com>
Fri, 5 Dec 2014 23:02:42 +0000
(17:02 -0600)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 9 Jan 2015 17:55:16 +0000
(10:55 -0700)
The functions link_state_store() and clk_ctl_store() had just subtracted
ASCII '0' from input which could lead to undesired results. Instead, use
Linux string functions to safely parse input.
[bhelgaas: check kstrtouint() return value]
Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
No differences found