Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200040
b: refs/heads/master
c: 2068def
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed May 10, 2010
1 parent 55c2fa6 commit 5122d75
Show file tree
Hide file tree
Showing 2 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: 276b824c3095b09e8cb76f5709f56e9c6818ae85
refs/heads/master: 2068def56c09f2b24e6de04a1b84757a0fb07947
8 changes: 4 additions & 4 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ static ssize_t i7core_inject_socket_store(struct mem_ctl_info *mci,

rc = strict_strtoul(data, 10, &value);
if ((rc < 0) || (value >= pvt->sockets))
return 0;
return -EIO;

pvt->inject.section = (u32) value;
return count;
Expand Down Expand Up @@ -676,7 +676,7 @@ static ssize_t i7core_inject_section_store(struct mem_ctl_info *mci,

rc = strict_strtoul(data, 10, &value);
if ((rc < 0) || (value > 3))
return 0;
return -EIO;

pvt->inject.section = (u32) value;
return count;
Expand Down Expand Up @@ -709,7 +709,7 @@ static ssize_t i7core_inject_type_store(struct mem_ctl_info *mci,

rc = strict_strtoul(data, 10, &value);
if ((rc < 0) || (value > 7))
return 0;
return -EIO;

pvt->inject.type = (u32) value;
return count;
Expand Down Expand Up @@ -744,7 +744,7 @@ static ssize_t i7core_inject_eccmask_store(struct mem_ctl_info *mci,

rc = strict_strtoul(data, 10, &value);
if (rc < 0)
return 0;
return -EIO;

pvt->inject.eccmask = (u32) value;
return count;
Expand Down

0 comments on commit 5122d75

Please sign in to comment.