diff options
| author | Sudarsana Reddy Kalluru <[email protected]> | 2016-06-28 06:10:58 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-06-29 11:53:35 +0000 |
| commit | 51d99880879c8911ebcab1ec77ca7da2f4cb470d (patch) | |
| tree | c57afae30a8d0190790e70f85ece20445696d9ea /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | net: ethernet: mvpp2: use phy_ethtool_{get|set}_link_ksettings (diff) | |
| download | kernel-51d99880879c8911ebcab1ec77ca7da2f4cb470d.tar.gz kernel-51d99880879c8911ebcab1ec77ca7da2f4cb470d.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
