diff options
| author | Sudarsana Reddy Kalluru <[email protected]> | 2016-06-28 06:10:59 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-06-29 11:53:35 +0000 |
| commit | d2890dea2984749f59bfeffaff7add9030326542 (patch) | |
| tree | d35a53b16913e9a1550e217a3d60c8ada7433556 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | qed: Fix static checker warnings. (diff) | |
| download | kernel-d2890dea2984749f59bfeffaff7add9030326542.tar.gz kernel-d2890dea2984749f59bfeffaff7add9030326542.zip | |
qede: Fix the static checker warnings.
Static checker warnings:
drivers/net/ethernet/qlogic/qede/qede_ethtool.c:435 qede_get_coalesce()
warn: passing casted pointer '&coal->rx_coalesce_usecs' to
'edev->ops->common->get_coalesce()' 32 vs 16.
The u32 pointer is being typecasted to u16 which may fail for big-endian
platforms.
Fixes: d552fa84cb35 ("qede: 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_vm.c')
0 files changed, 0 insertions, 0 deletions
