summaryrefslogtreecommitdiff
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2014-05-29 16:31:00 +0300
committerRoland Dreier <roland@purestorage.com>2014-05-29 21:12:58 -0700
commitbc82878baa10c2a6a4a6affaf52c152935112142 (patch)
treebee25d3a8e9182f2e340cb5366af1df530998f70 /include/linux/mlx4
parentb38f2879b7d2d51747de2ea9062c698a6ac64cb1 (diff)
downloadlwn-bc82878baa10c2a6a4a6affaf52c152935112142.tar.gz
lwn-bc82878baa10c2a6a4a6affaf52c152935112142.zip
mlx4_core: Fix incorrect FLAGS1 bitmap test in mlx4_QUERY_FUNC_CAP
Commit eb17711bc1d6 ("net/mlx4_core: Introduce nic_info new flag in QUERY_FUNC_CAP") did: if (func_cap->flags1 & QUERY_FUNC_CAP_FLAGS1_OFFSET) { which should be: if (func_cap->flags1 & QUERY_FUNC_CAP_FLAGS1_FORCE_VLAN) { Fix that. Fixes: eb17711bc1d6 ("net/mlx4_core: Introduce nic_info new flag in QUERY_FUNC_CAP") Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx4')
0 files changed, 0 insertions, 0 deletions