bcache: Fix building error on MIPS
authorHuacai Chen <chenhc@lemote.com>
Fri, 24 Nov 2017 23:14:25 +0000 (15:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Dec 2017 10:26:34 +0000 (11:26 +0100)
commitf5b41b366273ff51c7a62643f8667784eb349fba
tree3550e403faec8827bdc47df50621c415fb5dabf6
parent6e8aca2095790b90217b759a0d5e2ec5138bbfd2
bcache: Fix building error on MIPS

commit cf33c1ee5254c6a430bc1538232b49c3ea13e613 upstream.

This patch try to fix the building error on MIPS. The reason is MIPS
has already defined the PTR macro, which conflicts with the PTR macro
in include/uapi/linux/bcache.h.

[fixed by mlyle: corrected a line-length issue]

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/bcache/alloc.c
drivers/md/bcache/extents.c
drivers/md/bcache/journal.c
include/uapi/linux/bcache.h