From: Roel Kluin Date: Mon, 22 Jun 2009 16:42:33 +0000 (+0200) Subject: perf_counter tools: Fix strbuf_fread() error path handling X-Git-Tag: v2.6.31-rc2~30^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7679dabfaf69840b000d238a020cee7157aca17;p=pandora-kernel.git perf_counter tools: Fix strbuf_fread() error path handling size_t res cannot be less than 0 - fread returns 0 on error. [ Updated by: René Scharfe ] Reported-by: Ingo Molnar Signed-off-by: Roel Kluin Cc: Andrew Morton Cc: Junio C Hamano LKML-Reference: <4A3FB479.2090902@lsrfire.ath.cx> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed