Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295431
b: refs/heads/master
c: 5e8e19b
h: refs/heads/master
i:
  295429: 503973f
  295427: 1112988
  295423: 1e980cc
v: v3
  • Loading branch information
Borislav Petkov authored and Borislav Petkov committed Mar 19, 2012
1 parent 5aabc3d commit c700579
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11b0a31473edf74b70ab6f8fe857b61bff82d7cc
refs/heads/master: 5e8e19bf6c3c9d8ecf74e2a7fdae99a76949bdf6
4 changes: 2 additions & 2 deletions trunk/Documentation/edac.txt
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ Sdram memory scrubbing rate:

Reading the file will return the actual scrubbing rate employed.

If configuration fails or memory scrubbing is not implemented, the value
of the attribute file will be -1.
If configuration fails or memory scrubbing is not implemented, accessing
that attribute will fail.



Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/edac/edac_mc_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ static ssize_t mci_sdram_scrub_rate_store(struct mem_ctl_info *mci,
int new_bw = 0;

if (!mci->set_sdram_scrub_rate)
return -EINVAL;
return -ENODEV;

if (strict_strtoul(data, 10, &bandwidth) < 0)
return -EINVAL;
Expand All @@ -475,7 +475,7 @@ static ssize_t mci_sdram_scrub_rate_show(struct mem_ctl_info *mci, char *data)
int bandwidth = 0;

if (!mci->get_sdram_scrub_rate)
return -EINVAL;
return -ENODEV;

bandwidth = mci->get_sdram_scrub_rate(mci);
if (bandwidth < 0) {
Expand Down

0 comments on commit c700579

Please sign in to comment.