From: Mike Christie Date: Tue, 1 Jul 2014 16:24:38 +0000 (-0500) Subject: bnx2i, be2iscsi: fix custom stats length X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=915aafd856d1a4ef1dea30c2b20ada03c93be4d7;p=pandora-kernel.git bnx2i, be2iscsi: fix custom stats length The custom stats is an array with custom_length indicating the length of the array. This patch fixes bnx2i and be2iscsi's setting of the custom stats length. They both just have the one, eh_abort_cnt, so that should be in the first entry of the custom array and custom_length should then be one. Reported-by: Rickard Strandqvist Signed-off-by: Mike Christie Acked-by: Vikas Chaudhary Acked-by: Eddie Wai Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed