[PATCH] arm: plat-orion: fix printing of "MPP config unavailable on this hardware"

Jason Cooper jason at lakedaemon.net
Wed Jan 23 09:25:10 EST 2013


On Wed, Jan 23, 2013 at 02:50:59PM +0100, Gerlando Falauto wrote:
> Commit 3cff484d4b264ff467a3b45c544cbbbab69f0bf8
> ARM: dove: Consolidate mpp code with platform mpp.
> 
> 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 be printed) if variant_mask != 1
> 
> Signed-off-by: Gerlando Falauto <gerlando.falauto at keymile.com>
> Cc: Andrew Lunn <andrew at lunn.ch>
> Cc: Olof Johansson <olof at lixom.net>
> Cc: Nicolas Pitre <nico at linaro.org>
> Cc: Holger Brunck <holger.brunck at keymile.com>
> ---
>  arch/arm/plat-orion/mpp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to mvebu/fixes with some minor cleanup of the commit message

thx,

Jason.



More information about the linux-arm-kernel mailing list