From: Dan Carpenter Date: Sat, 1 Mar 2014 13:54:36 +0000 (+0300) Subject: qlcnic: dcb: a couple off by one bugs X-Git-Tag: v3.14-rc6~30^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e842b068bf9a9eb7b38e0e1875357440a1fd2169;p=pandora-kernel.git 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 Acked-by: Sucheta Chakraborty Signed-off-by: David S. Miller --- Reading git-diff-tree failed