From: Greg KH on
2.6.32-stable review patch. If anyone has any objections, please let us know.


From: Borislav Petkov <borislav.petkov(a)>

commit bc57117856cf1e581135810b37d3b75f9d1749f5 upstream.

Exit early when setting scrub rate on unknown/unsupported families.

Signed-off-by: Borislav Petkov <borislav.petkov(a)>
Acked-by: Doug Thompson <dougthompson(a)>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)>

drivers/edac/amd64_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -156,7 +156,7 @@ static int amd64_set_scrub_rate(struct m

amd64_printk(KERN_ERR, "Unsupported family!\n");
- break;
+ return -EINVAL;
return amd64_search_set_scrub_rate(pvt->misc_f3_ctl, *bandwidth,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at