Buildresult: powerpc-next/powerpc-allmodconfig/powerpc-gcc8 built on Oct 10 2018, 02:26
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Oct 10 2018, 02:26
Duration:
0:15:30.113745
Builder:
ka2
Revision:
powerpc: signedness bug in update_flash_db() (
1d59e2c78793d8aea9949ca71323c4583c78f488)
Target:
powerpc-next/powerpc-allmodconfig/powerpc-gcc8
Branch:
powerpc-next
Compiler:
powerpc-gcc8
(powerpc64-linux-gcc (GCC) 8.1.0)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible warnings (19)
include/linux/compat.h:494:51: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/compat.h:495:51: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/compat.h:496:51: warning: this statement may fall through [-Wimplicit-fallthrough=] include/crypto/hash.h:155:38: warning: ISO C90 forbids variable length array '__crct10dif_shash_desc' [-Wvla] include/crypto/hash.h:155:38: warning: ISO C90 forbids variable length array '__crc32c_shash_desc' [-Wvla] include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] arch/powerpc/kernel/nvram_64.c:811:3: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/signal.h:180:22: warning: this statement may fall through [-Wimplicit-fallthrough=] sound/aoa/codecs/onyx.c:380:37: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/powerpc/kvm/book3s_32_mmu.c:252:21: warning: this statement may fall through [-Wimplicit-fallthrough=] arch/powerpc/xmon/xmon.c:4023:24: warning: this statement may fall through [-Wimplicit-fallthrough=] include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] arch/powerpc/platforms/powermac/feature.c:1477:6: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/scsi/esas2r/esas2r_ioctl.c:1910:19: warning: 'dma_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] include/linux/string.h:313:10: warning: '__builtin_strncat' specified bound 64 equals destination size [-Wstringop-overflow=] scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'.
Full Log
# git rev-parse -q --verify 1d59e2c78793d8aea9949ca71323c4583c78f488^{commit} 1d59e2c78793d8aea9949ca71323c4583c78f488 already have revision, skipping fetch # git checkout -q -f -B kisskb 1d59e2c78793d8aea9949ca71323c4583c78f488 # git clean -qxdf # < git log -1 # commit 1d59e2c78793d8aea9949ca71323c4583c78f488 # Author: Dan Carpenter <dan.carpenter@oracle.com> # Date: Mon Oct 1 19:44:58 2018 +0300 # # powerpc: signedness bug in update_flash_db() # # The "count < sizeof(struct os_area_db)" comparison is type promoted to # size_t so negative values of "count" are treated as very high values and # we accidentally return success instead of a negative error code. # # This doesn't really change runtime much but it fixes a static checker # warning. # # Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> # Acked-by: Geoff Levand <geoff@infradead.org> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 1d59e2c78793d8aea9949ca71323c4583c78f488 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/kernel/signal_32.c:32: /kisskb/src/include/linux/compat.h: In function 'put_compat_sigset': /kisskb/src/include/linux/compat.h:494:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: v.sig[7] = (set->sig[3] >> 32); v.sig[6] = set->sig[3]; ~~~~~~~~~^~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:495:2: note: here case 3: v.sig[5] = (set->sig[2] >> 32); v.sig[4] = set->sig[2]; ^~~~ /kisskb/src/include/linux/compat.h:495:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: v.sig[5] = (set->sig[2] >> 32); v.sig[4] = set->sig[2]; ~~~~~~~~~^~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:496:2: note: here case 2: v.sig[3] = (set->sig[1] >> 32); v.sig[2] = set->sig[1]; ^~~~ /kisskb/src/include/linux/compat.h:496:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: v.sig[3] = (set->sig[1] >> 32); v.sig[2] = set->sig[1]; ~~~~~~~~~^~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:497:2: note: here case 1: v.sig[1] = (set->sig[0] >> 32); v.sig[0] = set->sig[0]; ^~~~ In file included from /kisskb/src/include/crypto/internal/hash.h:17, from /kisskb/src/arch/powerpc/crypto/crc-vpmsum_test.c:12: /kisskb/src/arch/powerpc/crypto/crc-vpmsum_test.c: In function 'crc_test_init': /kisskb/src/include/crypto/hash.h:155:38: warning: ISO C90 forbids variable length array '__crct10dif_shash_desc' [-Wvla] char __##shash##_desc[sizeof(struct shash_desc) + \ ^~~~~~~~~~ /kisskb/src/arch/powerpc/crypto/crc-vpmsum_test.c:59:3: note: in expansion of macro 'SHASH_DESC_ON_STACK' SHASH_DESC_ON_STACK(crct10dif_shash, crct10dif_tfm); ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/crypto/hash.h:155:38: warning: ISO C90 forbids variable length array '__crc32c_shash_desc' [-Wvla] char __##shash##_desc[sizeof(struct shash_desc) + \ ^~~~~~~~~~ /kisskb/src/arch/powerpc/crypto/crc-vpmsum_test.c:60:3: note: in expansion of macro 'SHASH_DESC_ON_STACK' SHASH_DESC_ON_STACK(crc32c_shash, crc32c_tfm); ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/kernel/debug/kdb/kdb_support.c:15: In function 'strncpy', inlined from 'kallsyms_symbol_next' at /kisskb/src/kernel/debug/kdb/kdb_support.c:239:4: /kisskb/src/include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/debug/kdb/kdb_support.c: In function 'kallsyms_symbol_next': /kisskb/src/include/linux/string.h:267:10: note: length computed here return __builtin_strlen(p); ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/nvram_64.c: In function 'dev_nvram_ioctl': /kisskb/src/arch/powerpc/kernel/nvram_64.c:811:3: warning: this statement may fall through [-Wimplicit-fallthrough=] printk(KERN_WARNING "nvram: Using obsolete PMAC_NVRAM_GET_OFFSET ioctl\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/nvram_64.c:812:2: note: here case IOC_NVRAM_GET_OFFSET: { ^~~~ In file included from /kisskb/src/include/linux/kvm_host.h:14, from /kisskb/src/arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:21: /kisskb/src/include/linux/signal.h: In function 'sigemptyset': /kisskb/src/include/linux/signal.h:180:22: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: set->sig[1] = 0; ~~~~~~~~~~~~^~~ /kisskb/src/include/linux/signal.h:181:2: note: here case 1: set->sig[0] = 0; ^~~~ /kisskb/src/sound/aoa/codecs/onyx.c: In function 'onyx_snd_single_bit_get': /kisskb/src/sound/aoa/codecs/onyx.c:380:37: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] ucontrol->value.integer.value[0] = !!(c & mask) ^ polarity; ^~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_32_mmu.c: In function 'kvmppc_mmu_book3s_32_xlate_pte': /kisskb/src/arch/powerpc/kvm/book3s_32_mmu.c:252:21: warning: this statement may fall through [-Wimplicit-fallthrough=] pte->may_write = true; ~~~~~~~~~~~~~~~^~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_32_mmu.c:253:5: note: here case 3: ^~~~ /kisskb/src/arch/powerpc/xmon/xmon.c: In function 'do_spu_cmd': /kisskb/src/arch/powerpc/xmon/xmon.c:4023:24: warning: this statement may fall through [-Wimplicit-fallthrough=] if (isxdigit(subcmd) || subcmd == '\n') /kisskb/src/arch/powerpc/xmon/xmon.c:4025:2: note: here case 'f': ^~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:64, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/lib/test_hexdump.c:8: In function 'strncpy', inlined from 'test_hexdump_prepare_test.isra.0' at /kisskb/src/lib/test_hexdump.c:102:3: /kisskb/src/include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c: In function 'test_hexdump_prepare_test.isra.0': /kisskb/src/include/linux/string.h:267:10: note: length computed here return __builtin_strlen(p); ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/platforms/powermac/feature.c: In function 'g5_i2s_enable': /kisskb/src/arch/powerpc/platforms/powermac/feature.c:1477:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (macio->type == macio_shasta) ^ /kisskb/src/arch/powerpc/platforms/powermac/feature.c:1479:2: note: here default: ^~~~~~~ /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c: In function 'esas2r_write_vda': /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c:1910:19: warning: 'dma_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] a->ppvda_buffer = dma_addr; ~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:64, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:27: In function 'strncat', inlined from 'ibmvscsis_probe' at /kisskb/src/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:3478:2: /kisskb/src/include/linux/string.h:313:10: warning: '__builtin_strncat' specified bound 64 equals destination size [-Wstringop-overflow=] return __builtin_strncat(p, q, count); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. Completed OK # rm -rf /kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-gcc8 # Build took: 0:15:30.113745
© Michael Ellerman 2006-2018.