# 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 # 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 # Acked-by: Geoff Levand # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 1d59e2c78793d8aea9949ca71323c4583c78f488 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc32_allmodconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /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(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/pgtable.h:8:0, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:18, from /kisskb/src/include/linux/hugetlb.h:12, from /kisskb/src/arch/powerpc/mm/dump_linuxpagetables.c:19: /kisskb/src/arch/powerpc/mm/dump_linuxpagetables.c: In function 'populate_markers': /kisskb/src/arch/powerpc/include/asm/book3s/32/pgtable.h:53:19: error: 'PKMAP_BASE' undeclared (first use in this function) #define KVIRT_TOP PKMAP_BASE ^ /kisskb/src/arch/powerpc/include/asm/book3s/32/pgtable.h:64:23: note: in expansion of macro 'KVIRT_TOP' #define IOREMAP_TOP ((KVIRT_TOP - CONFIG_CONSISTENT_SIZE) & PAGE_MASK) ^ /kisskb/src/arch/powerpc/mm/dump_linuxpagetables.c:456:39: note: in expansion of macro 'IOREMAP_TOP' address_markers[i++].start_address = IOREMAP_TOP; ^ /kisskb/src/arch/powerpc/include/asm/book3s/32/pgtable.h:53:19: note: each undeclared identifier is reported only once for each function it appears in #define KVIRT_TOP PKMAP_BASE ^ /kisskb/src/arch/powerpc/include/asm/book3s/32/pgtable.h:64:23: note: in expansion of macro 'KVIRT_TOP' #define IOREMAP_TOP ((KVIRT_TOP - CONFIG_CONSISTENT_SIZE) & PAGE_MASK) ^ /kisskb/src/arch/powerpc/mm/dump_linuxpagetables.c:456:39: note: in expansion of macro 'IOREMAP_TOP' address_markers[i++].start_address = IOREMAP_TOP; ^ /kisskb/src/arch/powerpc/mm/dump_linuxpagetables.c:464:39: error: implicit declaration of function 'PKMAP_ADDR' [-Werror=implicit-function-declaration] address_markers[i++].start_address = PKMAP_ADDR(LAST_PKMAP); ^ /kisskb/src/arch/powerpc/mm/dump_linuxpagetables.c:464:50: error: 'LAST_PKMAP' undeclared (first use in this function) address_markers[i++].start_address = PKMAP_ADDR(LAST_PKMAP); ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:305: arch/powerpc/mm/dump_linuxpagetables.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:546: arch/powerpc/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... /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/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression /kisskb/src/drivers/char/tpm/tpm2-cmd.c: In function 'tpm2_unseal_trusted': /kisskb/src/drivers/char/tpm/tpm2-cmd.c:676:2: warning: 'blob_handle' may be used uninitialized in this function [-Wmaybe-uninitialized] tpm2_flush_context_cmd(chip, blob_handle, TPM_TRANSMIT_UNLOCKED); ^ /kisskb/src/arch/powerpc/kernel/head_32.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_32.S:990: Warning: invalid register expression make[1]: *** [/kisskb/src/Makefile:1060: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep_set_halt': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1840:14: warning: 'udc' may be used uninitialized in this function [-Wmaybe-uninitialized] dev_vdbg(udc->dev, "%s %s halt stat %d\n", ep->ep.name, ^ /kisskb/src/drivers/scsi/aha1542.c: In function 'aha1542_interrupt': /kisskb/src/drivers/scsi/aha1542.c:306:38: error: implicit declaration of function 'isa_virt_to_bus' [-Werror=implicit-function-declaration] mbo = (scsi2int(mb[mbi].ccbptr) - (isa_virt_to_bus(&ccb[0]))) / sizeof(struct ccb); ^ /kisskb/src/drivers/scsi/aha1542.c: In function 'aha1542_queuecommand': /kisskb/src/drivers/scsi/aha1542.c:461:30: error: implicit declaration of function 'isa_page_to_bus' [-Werror=implicit-function-declaration] any2scsi(cptr[i].dataptr, isa_page_to_bus(sg_page(sg)) ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:311: drivers/scsi/aha1542.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:546: drivers/scsi] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1060: drivers] Error 2 make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc32_allmodconfig_powerpc-gcc5 # Build took: 0:10:52.777873