diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-03-12 17:41:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-18 11:12:26 +0000 |
commit | 31f653278271fd6c6fbabcdcec168f627f6afdb5 (patch) | |
tree | 549822154000cbf69e52e527c2d2f441896b77dd /meta-selftest/recipes-devtools | |
parent | bc853f87567bf977ab56e95aaa922fe194fdf990 (diff) | |
download | poky-31f653278271fd6c6fbabcdcec168f627f6afdb5.tar.gz |
mdadm: fix gcc8 maybe-uninitialized/format-overflow warning
while compiled with -Werror=maybe-uninitialized/-Werror=format-overflow=,
it failed
[snip]
| Incremental.c: In function 'Incremental_container':
| Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| close(mdfd);
| ^~~~~~~~~~~
[snip]
super-intel.c: In function 'apply_takeover_update':
| super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=]
| " MISSING_%d", du->index);
| ^~
(From OE-Core rev: 630281663893cdcfa9c4323b717b415d87d5510f)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-devtools')
0 files changed, 0 insertions, 0 deletions