Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125504
b: refs/heads/master
c: b7a0321
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and Pierre Ossman committed Dec 31, 2008
1 parent 94d7f84 commit e698874
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 092f82edbe96d0a08e1d10436927e89fa101fe0d
refs/heads/master: b7a03210b7b381e06f71751cb9addfae7704489c
6 changes: 2 additions & 4 deletions trunk/drivers/mmc/card/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ struct mmc_blk_request {
static u32 mmc_sd_num_wr_blocks(struct mmc_card *card)
{
int err;
u32 blocks;
__be32 blocks;

struct mmc_request mrq;
struct mmc_command cmd;
Expand Down Expand Up @@ -204,9 +204,7 @@ static u32 mmc_sd_num_wr_blocks(struct mmc_card *card)
if (cmd.error || data.error)
return (u32)-1;

blocks = ntohl(blocks);

return blocks;
return ntohl(blocks);
}

static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
Expand Down

0 comments on commit e698874

Please sign in to comment.