commit | 5a9f8df68ee6927f21dd3f2c75c16feb8b53a9e8 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Mon Mar 12 16:00:40 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 12 21:04:55 2018 -0400 |
tree | d358952a536aa230f5443c7bf16141a3cc00b2b5 | |
parent | 59bb883532d4210bd8832ae16e68b65ecdfd6d5d [diff] |
net: dsa: Fix dsa_is_user_port() test inversion During the conversion to dsa_is_user_port(), a condition ended up being reversed, which would prevent the creation of any user port when using the legacy binding and/or platform data, fix that. Fixes: 4a5b85ffe2a0 ("net: dsa: use dsa_is_user_port everywhere") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>