projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ice: fix potential infinite loop because loop counter being too small
[linux-2.6-block.git]
/
drivers
/
net
/
ethernet
/
intel
/
ice
/
ice_sched.c
diff --git
a/drivers/net/ethernet/intel/ice/ice_sched.c
b/drivers/net/ethernet/intel/ice/ice_sched.c
index fc624b73d05dcfe0e1819398b1948a122e9b1cc2..2fde9653a608fb7bc520006561e01d1335b9f24a 100644
(file)
--- a/
drivers/net/ethernet/intel/ice/ice_sched.c
+++ b/
drivers/net/ethernet/intel/ice/ice_sched.c
@@
-1036,7
+1036,7
@@
enum ice_status ice_sched_query_res_alloc(struct ice_hw *hw)
struct ice_aqc_query_txsched_res_resp *buf;
enum ice_status status = 0;
__le16 max_sibl;
- u
8
i;
+ u
16
i;
if (hw->layer_info)
return status;