diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-03-01 16:54:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-03 15:38:12 -0500 |
commit | e842b068bf9a9eb7b38e0e1875357440a1fd2169 (patch) | |
tree | e11cd109442936f6e1d3d87923e91130c27746b2 /samples | |
parent | c84a57113f59486e6688be1cd443b96e3118efa0 (diff) | |
download | linux-e842b068bf9a9eb7b38e0e1875357440a1fd2169.tar.bz2 |
qlcnic: dcb: a couple off by one bugs
The ->tc_cfg[] array has QLC_DCB_MAX_TC (8) elements so the check is
off by one. These functions are always called with valid values though
so it doesn't affect how the code works.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions