diff options
| author | 2016-07-28 12:35:02 +1000 | |
|---|---|---|
| committer | 2016-07-28 12:39:15 +1000 | |
| commit | fbef66f0adcddf4475e19f3d09df22fb34e633f6 (patch) | |
| tree | 11083e7081f9589d5a6ee70cf4adacb223387d04 /drivers/net/ethernet/nxp/lpc_eth.c | |
| parent | tty/hvc: Use opal irqchip interface if available (diff) | |
| download | linux-dev-fbef66f0adcddf4475e19f3d09df22fb34e633f6.tar.xz linux-dev-fbef66f0adcddf4475e19f3d09df22fb34e633f6.zip | |
powerpc/mm: Parenthesise IS_ENABLED() in if condition
Currently IS_ENABLED() produces an expression surrounded by parentheses,
which allows this code to compile, generating eg:
else if (1 || 0)
hpte_init_native();
However a change to the macro in the kbuild tree will break this in
future by removing the parentheses.
Fixes: 7353644fa9df ("powerpc/mm: Fix build break when PPC_NATIVE=n")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/net/ethernet/nxp/lpc_eth.c')
0 files changed, 0 insertions, 0 deletions
