Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87909
b: refs/heads/master
c: d250dad
h: refs/heads/master
i:
  87907: 2d1a90a
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Mar 28, 2008
1 parent 629486a commit 9d7bdbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 4a5691c0f7b65b7aa9d237e55f05e691352caac7
refs/heads/master: d250dad64a154a9f95ec3574e2ffc97d9f61a19c
4 changes: 3 additions & 1 deletion trunk/drivers/memstick/host/tifm_ms.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static unsigned int tifm_ms_transfer_data(struct tifm_ms *host)
struct tifm_dev *sock = host->dev;
unsigned int length;
unsigned int off;
unsigned int t_size, p_off, p_cnt;
unsigned int t_size, p_cnt;
unsigned char *buf;
struct page *pg;
unsigned long flags = 0;
Expand All @@ -198,6 +198,8 @@ static unsigned int tifm_ms_transfer_data(struct tifm_ms *host)
host->block_pos);

while (length) {
unsigned int uninitialized_var(p_off);

if (host->req->long_data) {
pg = nth_page(sg_page(&host->req->sg),
off >> PAGE_SHIFT);
Expand Down

0 comments on commit 9d7bdbf

Please sign in to comment.