summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/files/0001-fix-gcc-8-format-truncation-warning.patch
Commit message (Collapse)AuthorAgeFilesLines
* mdadm: update 4.2 -> 4.3Alexander Kanavin2024-04-161-5/+2
| | | | | | | | | | | | | | | Drop a gigantic set of patches: either backports or test fixups (which are no longer testable after exclusion of mdadm from ptests). Add musl fixes: 0001-util.c-add-limits.h-include-for-NAME_MAX-definition.patch 0002-Create.c-include-linux-falloc.h-for-FALLOC_FL_ZERO_R.patch (From OE-Core rev: 952a2a94901ea6e9416e517e9f6c97dbc7e3bb2d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix gcc-8 format-truncation warningHongxu Jia2019-01-111-0/+39
While compiling with `-Werror=format-truncation=', it failed [snip] |super0.c:236:32: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=] | snprintf(nb, sizeof(nb), "%4d", d); | ^ |super0.c:236:3: note: 'snprintf' output between 5 and 12 bytes into a destination of size 11 | snprintf(nb, sizeof(nb), "%4d", d); [snip] (From OE-Core rev: cd5013a94609ef2f3e0d621339e22e4137d649d3) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>