aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-08-01 11:43:13 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-01 11:43:13 -0700
commit9a97ebf7a6bbfc1e420d53f5281f5f44df1e510d (patch)
tree9b032790aaa43a5c6cee140cef5698c5b9cfe5ee
parentf390b7bffdfef1ff552632cad41134e67b2b5684 (diff)
parent3b1074bf9817bf43d4da375aa5f4b6c88f1d953e (diff)
downloadlinux-9a97ebf7a6bbfc1e420d53f5281f5f44df1e510d.tar.gz
Merge tag 'mmc-v4.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
Pull MMC fix from Ulf Hansson: "MMC host: mxcmmc: Fix build error for powerpc" * tag 'mmc-v4.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: mmc: mxcmmc: Fix missing parentheses and brace
-rw-r--r--drivers/mmc/host/mxcmmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index 75f781c11e897f..de4e6e5bf30446 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -293,9 +293,10 @@ static void mxcmci_swap_buffers(struct mmc_data *data)
int i;
for_each_sg(data->sg, sg, data->sg_len, i) {
- void *buf = kmap_atomic(sg_page(sg) + sg->offset;
+ void *buf = kmap_atomic(sg_page(sg) + sg->offset);
buffer_swap32(buf, sg->length);
kunmap_atomic(buf);
+ }
}
#else
static inline void mxcmci_swap_buffers(struct mmc_data *data) {}