diff options
author | Sudarsana Reddy Kalluru <[email protected]> | 2016-06-28 02:10:58 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-29 07:53:35 -0400 |
commit | 51d99880879c8911ebcab1ec77ca7da2f4cb470d (patch) | |
tree | c57afae30a8d0190790e70f85ece20445696d9ea /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | fb773e975e80a04cb7c0cfd0c1aea2dca095e968 (diff) |
qed: Fix static checker warnings.
Static checker warnings:
drivers/net/ethernet/qlogic/qed/qed_int.c:2450 qed_init_cau_sb_entry()
warn: always true condition '(cdev->rx_coalesce_usecs <= 255) =>
(0-255 <= 255)'
drivers/net/ethernet/qlogic/qed/qed_int.c:2511 qed_int_cau_conf_sb()
warn: always true condition '(p_hwfn->cdev->rx_coalesce_usecs <= 255)
=> (0-255 <= 255)'
..
The data types for rx/tx_coalesce_usecs should be u16.
Fixes: commit 722003ac40c2 ("qed: Add support for coalescing config read/update.")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sudarsana Reddy Kalluru <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions