Commit 97f3f6fc authored by Jitendra Kalsaria's avatar Jitendra Kalsaria Committed by David S. Miller

qlcnic: Fix warning reported by kbuild test robot.

drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c: In function 'qlcnic_handle_fw_message':
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c:922:4: warning: overflow in implicit constant conversion [-Woverflow]
Signed-off-by: default avatarJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f3fcc9a4
...@@ -430,7 +430,7 @@ struct qlcnic_hardware_context { ...@@ -430,7 +430,7 @@ struct qlcnic_hardware_context {
u8 diag_test; u8 diag_test;
u8 num_msix; u8 num_msix;
u8 nic_mode; u8 nic_mode;
char diag_cnt; int diag_cnt;
u16 max_uc_count; u16 max_uc_count;
u16 port_type; u16 port_type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment