Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a97ebf7 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
parents f390b7bf 3b1074bf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -293,10 +293,11 @@ 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) {}
#endif