From: Ben Hutchings Date: Tue, 6 Sep 2011 12:44:25 +0000 (+0000) Subject: gianfar: Fix overflow check and return value for gfar_get_cls_all() X-Git-Tag: v3.1-rc7~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=710778ff878a06654175863db133293007d45aee;p=pandora-kernel.git gianfar: Fix overflow check and return value for gfar_get_cls_all() This function may currently fill one entry beyond the end of the array it is given. It also doesn't return an error code in case it does detect overflow. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed