Buildresult: gustavoars/axs103_smp_defconfig/arc-gcc10 built on Sep 14 2021, 09:07
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Sep 14 2021, 09:07
Duration:
0:02:02.406576
Builder:
ka2
Revision:
nfp: Prefer struct_size over open coded arithmetic (
a33082bd198c21dada3f05913a116538b5d758b6)
Target:
gustavoars/axs103_smp_defconfig/arc-gcc10
Branch:
gustavoars
Compiler:
arc-gcc10
(arc-linux-gcc (GCC) 10.1.0 / GNU ld (GNU Binutils) 2.34)
Config:
axs103_smp_defconfig
(
download
)
Log:
Download original
Possible warnings (4)
arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to ''
Full Log
# git rev-parse -q --verify a33082bd198c21dada3f05913a116538b5d758b6^{commit} a33082bd198c21dada3f05913a116538b5d758b6 already have revision, skipping fetch # git checkout -q -f -B kisskb a33082bd198c21dada3f05913a116538b5d758b6 # git clean -qxdf # < git log -1 # commit a33082bd198c21dada3f05913a116538b5d758b6 # Author: Len Baker <len.baker@gmx.com> # Date: Sun Sep 12 15:10:57 2021 +0200 # # nfp: Prefer struct_size over open coded arithmetic # # As noted in the "Deprecated Interfaces, Language Features, Attributes, # and Conventions" documentation [1], size calculations (especially # multiplication) should not be performed in memory allocator (or similar) # function arguments due to the risk of them overflowing. This could lead # to values wrapping around and a smaller allocation being made than the # caller was expecting. Using those allocations could lead to linear # overflows of heap memory and other misbehaviors. # # So, use the struct_size() helper to do the arithmetic instead of the # argument "size + count * size" in the kzalloc() function. # # [1] https://www.kernel.org/doc/html/v5.14/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments # # Signed-off-by: Len Baker <len.baker@gmx.com> # Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> # Reviewed-by: Simon Horman <simon.horman@corigine.com> # Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux-ld --version # < git log --format=%s --max-count=1 a33082bd198c21dada3f05913a116538b5d758b6 # < make -s -j 8 ARCH=arc O=/kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- axs103_smp_defconfig /kisskb/src/arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' # Added to kconfig CONFIG_INITRAMFS_SOURCE="" # < make -s -j 8 ARCH=arc O=/kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- help /kisskb/src/arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' # make -s -j 8 ARCH=arc O=/kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- olddefconfig /kisskb/src/arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' # make -s -j 8 ARCH=arc O=/kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- /kisskb/src/arch/arc/Makefile:26: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' Completed OK # rm -rf /kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 # Build took: 0:02:02.406576
© Michael Ellerman 2006-2018.