linux-hardened/arch/arm/plat-orion
Gerlando Falauto 830f8b9105 arm: plat-orion: fix printing of "MPP config unavailable on this hardware"
refactored printing of the kernel warning:

"orion_mpp_conf: requested MPP%u config unavailable on this hardware\n"

which is not to be printed in case of variant_mask = 0 (unknown variant).
This check should be performed using a logical AND (&&) as opposed
to a bitwise AND (&).

Otherwise, test would fail (and message would not be printed) if
variant_mask != 1

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Olof Johansson <olof@lixom.net>
Cc: Nicolas Pitre <nico@linaro.org>
Cc: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-01-23 14:37:52 +00:00
..
include/plat arm: plat-orion: Add coherency attribute when setup mbus target 2012-11-21 17:07:49 +01:00
addr-map.c arm: plat-orion: Add coherency attribute when setup mbus target 2012-11-21 17:07:49 +01:00
common.c dma: mv_xor: remove the pool_size from platform_data 2012-11-20 15:59:00 +01:00
gpio.c ARM: orion: move custom gpio functions to orion-gpio.h 2012-09-14 09:21:59 -05:00
irq.c ARM: Kirkwood: Make use of mvebu pincltl and gpio drivers 2012-11-24 02:57:35 +00:00
Makefile ARM: mvebu: fix build breaks from multi-platform conversion 2012-09-28 22:27:07 +02:00
mpp.c arm: plat-orion: fix printing of "MPP config unavailable on this hardware" 2013-01-23 14:37:52 +00:00
pcie.c ARM: Kirkwood: Replace clock gating 2012-05-08 16:34:04 -07:00
time.c arm: plat-orion: use void __iomem pointers for time functions 2012-09-21 18:04:39 +00:00