Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98992
b: refs/heads/master
c: 8df22b4
h: refs/heads/master
v: v3
  • Loading branch information
Martin Schwidefsky authored and Heiko Carstens committed Jul 14, 2008
1 parent 62b47f3 commit 5ae2185
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 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: ca366a329ad8eff1230decd55b33fe23326862f6
refs/heads/master: 8df22b4b39c6a1679f471bd68f97cf6f6819571a
18 changes: 4 additions & 14 deletions trunk/drivers/s390/block/xpram.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,10 @@ static int xpram_page_in (unsigned long page_addr, unsigned int xpage_index)
: "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc");
if (cc == 3)
return -ENXIO;
if (cc == 2) {
PRINT_ERR("expanded storage lost!\n");
if (cc == 2)
return -ENXIO;
}
if (cc == 1) {
PRINT_ERR("page in failed for page index %u.\n",
xpage_index);
if (cc == 1)
return -EIO;
}
return 0;
}

Expand All @@ -135,15 +130,10 @@ static long xpram_page_out (unsigned long page_addr, unsigned int xpage_index)
: "+d" (cc) : "a" (__pa(page_addr)), "d" (xpage_index) : "cc");
if (cc == 3)
return -ENXIO;
if (cc == 2) {
PRINT_ERR("expanded storage lost!\n");
if (cc == 2)
return -ENXIO;
}
if (cc == 1) {
PRINT_ERR("page out failed for page index %u.\n",
xpage_index);
if (cc == 1)
return -EIO;
}
return 0;
}

Expand Down

0 comments on commit 5ae2185

Please sign in to comment.