commit | b2a3372138c468c5c749c50c368dd6c11313e491 | [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 | 036c9679d25cba87e7b82dc18d6f5f939d9806dd [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>