net/mlx4_core: Fixes missing capability bit in flags2 capability dump
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Tue, 1 Aug 2017 13:43:46 +0000 (16:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2017 17:44:09 +0000 (10:44 -0700)
commitbff0c6840c135c14675404ba697aae2638c37cb6
tree803a01550ec23d3826adf3d20d1d911df5f3a4ba
parentf9fb9d0b8519a795eeaca5108205593b66068cce
net/mlx4_core: Fixes missing capability bit in flags2 capability dump

The cited commit introduced the following new enum value in file
include/linux/mlx4/device.h:

    QUERY_DEV_CAP_DIAG_RPRT_PER_PORT

However, it failed to introduce a corresponding entry in function
dump_dev_cap_flags2() for outputting a line in the message log
when this capability bit is set.

The change here fixes that omission.

Fixes: c7c122ed67e4 ("net/mlx4: Add diagnostic counters capability bit")
Reported-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c