summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorsudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com>2017-05-04 08:15:03 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-04 12:31:02 -0400
commitf870a3c6727db5fcfeaa42d099f75872e4b17553 (patch)
treede7f830c3530b1b5e5e4444fcc7327c6e3a343eb /include
parent77ef033b687c3e030017c94a29bf6ea3aaaef678 (diff)
downloadlinux-f870a3c6727db5fcfeaa42d099f75872e4b17553.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/qed/qed_if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h
index 5544d7b2f2bb..c70ac13a97e6 100644
--- a/include/linux/qed/qed_if.h
+++ b/include/linux/qed/qed_if.h
@@ -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