diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-04-15 15:23:49 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-18 10:29:24 -0400 |
commit | 0e0de24b07b8314ea0cc247a89b722c2230e4b0a (patch) | |
tree | e93e1727b8bfd9f12eb14f3b497808316714bd49 /drivers/led | |
parent | ea1e3f96c3666245b3651ab8022738763b97e6a8 (diff) |
ddr: fsl: incorrect logical constraint in populate_memctl_options
(pdimm[0].data_width >= 32) || (pdimm[0].data_width <= 40)
is always true.
We should use && here.
The problem was indicated by cppcheck.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/led')
0 files changed, 0 insertions, 0 deletions