commit | 0279e82127108cfb63b8a6bcea747e1e335338f0 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Sat Feb 17 17:30:41 2018 -0500 |
committer | Marek Vasut <marex@denx.de> | Fri Feb 23 00:06:05 2018 +0100 |
tree | df1e27a1bbd99e7f4a2f9c4a767118342d33625f | |
parent | 85fb9a61ff8558e72a2eb8edfdfc218fa3e8bb30 [diff] |
sh: Do not provide strncmp With modern GCC, we get warnings such as: cmd/jffs2.c: In function 'mtdparts_init': arch/sh/include/asm/string.h:110:38: warning: array subscript is above array bounds [-Warray-bounds] : "0" (__cs), "1" (__ct), "r" (__cs+__n) ~~~~^~~~ This results in a small size reduction as well. Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Tom Rini <trini@konsulko.com>