MIPS: unaligned: Surround load/store macros in do {} while statements
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 9 Mar 2015 14:54:51 +0000 (14:54 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 10 Apr 2015 13:41:44 +0000 (15:41 +0200)
commit3563c32d6532ece53c9dd8905a8e41983ef9952f
tree5c2a00d13913295a2683d1259a55b86629e2f589
parenteeb538950367e3966cbf0237ab1a1dc30e059818
MIPS: unaligned: Surround load/store macros in do {} while statements

It's best to surround such complex macros with do {} while statements
so they can appear as independent logical blocks when used within other
control blocks.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: <stable@vger.kernel.org> # v3.15+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9502/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/unaligned.c