commit | c677071741343381f4f555867c04af7ec4a90869 | [log] [tgz] |
---|---|---|
author | Kamal Heib <kamalh@mellanox.com> | Sun Sep 11 10:56:18 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 11 19:40:25 2016 -0700 |
tree | af79d64faf4a3930e8140f4c2bcb1b1f19a723c2 | |
parent | 74a9e9054456658f047bf71d9108844defde793d [diff] |
net/mlx4_en: Fix the return value of mlx4_en_dcbnl_set_state() mlx4_en_dcbnl_set_state() returns u8, the return value from mlx4_en_setup_tc() could be negative in case of failure, so fix that. Fixes: af7d51852631 ("net/mlx4_en: Add DCB PFC support through CEE netlink commands") Signed-off-by: Kamal Heib <kamalh@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>