diff options
author | Tom Rini <trini@konsulko.com> | 2018-02-17 17:30:41 -0500 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-02-23 00:06:05 +0100 |
commit | b2a3372138c468c5c749c50c368dd6c11313e491 (patch) | |
tree | df1e27a1bbd99e7f4a2f9c4a767118342d33625f /include | |
parent | 036c9679d25cba87e7b82dc18d6f5f939d9806dd (diff) | |
download | u-boot-b2a3372138c468c5c749c50c368dd6c11313e491.tar.gz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions