summaryrefslogtreecommitdiff
path: root/firmware/yamaha
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-05-25 20:21:07 +0400
committerBorislav Petkov <borislav.petkov@amd.com>2010-08-03 18:14:06 +0400
commiteba042a81edd6baaff44831b2d719b14a6d21e58 (patch)
treea1e768aadf18708114e2d6c4d4a54b3af49e42e9 /firmware/yamaha
parentbc57117856cf1e581135810b37d3b75f9d1749f5 (diff)
downloadlinux-eba042a81edd6baaff44831b2d719b14a6d21e58.tar.xz
edac, mc: Improve scrub rate handling
Fortify the interface to not accept negative values, remove memctrl_int_store() as a result. Also, sanitize bandwidth setting by making the argument a simple u32 instead of strange u32 pointer being passed around for no obvious reason. Then, fix error handling and teach it to return proper error values. Finally, make code more readable, simplify debug messages. Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Arthur Jones <ajones@riverbed.com> Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Acked-by: Doug Thompson <dougthompson@xmission.com>
Diffstat (limited to 'firmware/yamaha')
0 files changed, 0 insertions, 0 deletions