From: Gerlando Falauto Date: Wed, 23 Jan 2013 13:50:59 +0000 (+0100) Subject: arm: plat-orion: fix printing of "MPP config unavailable on this hardware" X-Git-Tag: v3.9-rc1~35^2~61^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=830f8b9105b2d88cd2b115994e14bfe992f9a000;p=pandora-kernel.git 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 Cc: Andrew Lunn Cc: Olof Johansson Cc: Nicolas Pitre Cc: Holger Brunck Acked-by: Andrew Lunn Signed-off-by: Jason Cooper --- Reading git-diff-tree failed