From: Max Filippov Date: Sun, 20 Jan 2013 11:41:44 +0000 (+0400) Subject: xtensa: fix str[n]cmp return value X-Git-Tag: v3.9-rc1~57^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5a285bb1b54e8b636cb522a9eb9c9ad232a23f8;p=pandora-kernel.git xtensa: fix str[n]cmp return value str[n]cmp functions return negative value if the first string is less than the second, positive value if the first string is greater than the second and zero if they are equal. This is important when these functions are used for sorting/binary search. With incorrect strcmp return value bsearch was always failing in the find_symbol_in_section making it impossible to load any module. Signed-off-by: Max Filippov Signed-off-by: Chris Zankel --- Reading git-diff-tree failed