diff options
author | Gerlando Falauto <[email protected]> | 2013-01-23 14:50:59 +0100 |
---|---|---|
committer | Jason Cooper <[email protected]> | 2013-01-23 14:37:52 +0000 |
commit | 830f8b9105b2d88cd2b115994e14bfe992f9a000 (patch) | |
tree | cd8c4a2b1b2c57d703d0ff4f937f61c84fad7400 /include/linux/fpga/fpga-mgr.h | |
parent | fd2704e82daa93923921dd1c9052ead74b2fdc79 (diff) |
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 <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Olof Johansson <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Holger Brunck <[email protected]>
Acked-by: Andrew Lunn <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions