]> git.baikalelectronics.ru Git - kernel.git/commit
paride: fix up build warning on mips platforms
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Nov 2021 08:46:26 +0000 (09:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Dec 2021 09:23:05 +0000 (10:23 +0100)
commitefe9cf6542f9d3e794dbc2fcb12c11bc7df73a74
treec451c210c670904a5d20c49165316fdb33d7d1bf
parent3540f3e7cfc081d331cbaab8b957087d709d16c0
paride: fix up build warning on mips platforms

MIPS include files define "PC" so when building the paride driver the
following build warning shows up:

rivers/block/paride/bpck.c:32: warning: "PC" redefined

Fix this by undefining PC before redefining it as is done for other
defines in this driver.

Cc: Tim Waugh <tim@cyberelk.net>
Acked-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20211130084626.3215987-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/paride/bpck.c