OSDN Git Service

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:24:34 +0000 (11:24 +0100)
commit8588eb0ce6a639be06110d7bbc8f59d8468ed9b7
treef5efb38d15e72e9fa2147b065af4a176eb3e8184
parent53cf83b3c73446a3f047e6abb805521a83baa133
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