linux/drivers/net/ethernet/qlogic/qed
Sudarsana Reddy Kalluru 51d9988087 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 722003ac40 ("qed: Add support for coalescing config read/update.")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-29 07:53:35 -04:00
..
Makefile qed: add support for dcbx. 2016-05-17 12:29:34 -04:00
qed_cxt.c qed: potential overflow in qed_cxt_src_t2_alloc() 2016-06-08 00:33:25 -07:00
qed_cxt.h qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_dcbx.c qed: Add dcbnl support. 2016-06-08 11:11:00 -07:00
qed_dcbx.h qed: Add support for query/config dcbx. 2016-06-08 11:10:59 -07:00
qed_dev_api.h qed: Add support for coalescing config read/update. 2016-06-23 15:56:46 -04:00
qed_dev.c qed: Add support for coalescing config read/update. 2016-06-23 15:56:46 -04:00
qed_hsi.h qed: Add support for query/config dcbx. 2016-06-08 11:10:59 -07:00
qed_hw.c qed: Add support for coalescing config read/update. 2016-06-23 15:56:46 -04:00
qed_hw.h qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_init_fw_funcs.c qed: Utilize FW 8.10.3.0 2016-06-02 21:30:03 -07:00
qed_init_ops.c qed: Utilize FW 8.10.3.0 2016-06-02 21:30:03 -07:00
qed_init_ops.h
qed_int.c qed: Add support for coalescing config read/update. 2016-06-23 15:56:46 -04:00
qed_int.h qed: Add support for coalescing config read/update. 2016-06-23 15:56:46 -04:00
qed_l2.c qed: Add dcbnl support. 2016-06-08 11:11:00 -07:00
qed_l2.h qed*: Tx-switching configuration 2016-05-12 00:04:08 -04:00
qed_main.c qed: Add support for coalescing config read/update. 2016-06-23 15:56:46 -04:00
qed_mcp.c qed: Add iscsi/rdma personalities 2016-06-03 20:08:39 -04:00
qed_mcp.h qed: Utilize FW 8.10.3.0 2016-06-02 21:30:03 -07:00
qed_reg_addr.h qed: Add support for coalescing config read/update. 2016-06-23 15:56:46 -04:00
qed_selftest.c qed: add infrastructure for device self tests. 2016-05-02 00:16:39 -04:00
qed_selftest.h qed: add infrastructure for device self tests. 2016-05-02 00:16:39 -04:00
qed_sp_commands.c qed: Add iscsi/rdma personalities 2016-06-03 20:08:39 -04:00
qed_sp.h qed: Add common HSI for new protocols 2016-06-03 20:08:39 -04:00
qed_spq.c qed: Revisit chain implementation 2016-06-03 20:08:39 -04:00
qed_sriov.c qed: PF to reply to unknown messages 2016-06-07 15:40:12 -07:00
qed_sriov.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-06-10 11:52:24 -07:00
qed_vf.c qed: Move doorbell calculation from VF to PF 2016-06-07 15:40:11 -07:00
qed_vf.h qed: Relax VF firmware requirements 2016-06-07 15:40:11 -07:00
qed.h qed: Fix static checker warnings. 2016-06-29 07:53:35 -04:00