aboutsummaryrefslogtreecommitdiffstatshomepage
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
parentMerge tag 'pm-urgent-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff)
parentmmc: mxcmmc: Fix missing parentheses and brace (diff)
downloadwireguard-linux-9a97ebf7a6bbfc1e420d53f5281f5f44df1e510d.tar.xz
wireguard-linux-9a97ebf7a6bbfc1e420d53f5281f5f44df1e510d.zip
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
Diffstat (limited to '')
-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 75f781c11e89..de4e6e5bf304 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) {}