commit | a1b58c237b73f10221b31e05b47a6565558207ef | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Fri Feb 03 15:37:13 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Feb 03 16:16:40 2012 -0800 |
tree | ad0651849cc19bb894a3f7d312df4e0c54e6bbd8 | |
parent | 070f420b35a2c078ca2bd2a0d31dd7b5001d411c [diff] |
xtensa: fix memscan() Defining memscan() as memchr() is wrong, because the return values of memscan() and memchr() are different when the character is not found. So use the generic memscan() implementation to fix this. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>