summaryrefslogtreecommitdiff
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-01-20 11:41:44 (GMT)
committerChris Zankel <chris@zankel.net>2013-02-24 03:22:31 (GMT)
commitc5a285bb1b54e8b636cb522a9eb9c9ad232a23f8 (patch)
treec42131a0c16dda921d68c625083b830eb9958ca8 /lib/clz_tab.c
parentde73b6b1bd7480301c8e8fbe58184448b1757945 (diff)
downloadlinux-c5a285bb1b54e8b636cb522a9eb9c9ad232a23f8.tar.xz
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 <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions