From: Borislav Petkov Date: Tue, 25 May 2010 16:21:07 +0000 (+0200) Subject: edac, mc: Improve scrub rate handling X-Git-Tag: v2.6.36-rc1~573^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba042a81edd6baaff44831b2d719b14a6d21e58;p=pandora-kernel.git 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 Cc: Arthur Jones Signed-off-by: Borislav Petkov Acked-by: Doug Thompson --- Reading git-diff-tree failed