qed*: Fix possible overflow for status block id field.
Value for status block id could be more than 256 in 100G mode, need to update its data type from u8 to u16. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
77ef033b68
commit
f870a3c672
@@ -635,7 +635,7 @@ struct qed_common_ops {
|
||||
* @return 0 on success, error otherwise.
|
||||
*/
|
||||
int (*set_coalesce)(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal,
|
||||
u8 qid, u16 sb_id);
|
||||
u16 qid, u16 sb_id);
|
||||
|
||||
/**
|
||||
* @brief set_led - Configure LED mode
|
||||
|
Reference in New Issue
Block a user