Skip to content

Commit

Permalink
Merge tag 'mmc-v4.18-rc5' of git://git.kernel.org/pub/scm/linux/kerne…
Browse files Browse the repository at this point in the history
…l/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
  • Loading branch information
Linus Torvalds committed Aug 1, 2018
2 parents f390b7b + 3b1074b commit 9a97ebf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/mmc/host/mxcmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit 9a97ebf

Please sign in to comment.