projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c5209c
)
mmc: mmc-test: use swap() in mmc_test_nonblock_transfer()
author
Fabian Frederick
<fabf@skynet.be>
Mon, 18 May 2015 17:52:58 +0000
(19:52 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:08 +0000
(09:07 +0200)
Use kernel.h macro definition.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/mmc_test.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/card/mmc_test.c
b/drivers/mmc/card/mmc_test.c
index
5e90b3f
..
b78cf5d
100644
(file)
--- a/
drivers/mmc/card/mmc_test.c
+++ b/
drivers/mmc/card/mmc_test.c
@@
-820,9
+820,7
@@
static int mmc_test_nonblock_transfer(struct mmc_test_card *test,
mmc_test_nonblock_reset(&mrq1, &cmd1,
&stop1, &data1);
}
- done_areq = cur_areq;
- cur_areq = other_areq;
- other_areq = done_areq;
+ swap(cur_areq, other_areq);
dev_addr += blocks;
}