# git rev-parse -q --verify 5dfc1167928d02040eee01ffbdbcf0305c11d23a^{commit} 5dfc1167928d02040eee01ffbdbcf0305c11d23a already have revision, skipping fetch # git checkout -q -f -B kisskb 5dfc1167928d02040eee01ffbdbcf0305c11d23a # git clean -qxdf # < git log -1 # commit 5dfc1167928d02040eee01ffbdbcf0305c11d23a # Author: Gustavo A. R. Silva # Date: Tue Aug 6 03:26:15 2019 -0500 # # scsi: fas216: Mark expected switch fall-throughs # # Mark switch cases where we are expecting to fall through. # # Fix the following warnings (Building: rpc_defconfig arm): # # drivers/scsi/arm/fas216.c: In function ‘fas216_disconnect_intr’: # drivers/scsi/arm/fas216.c:913:6: warning: this statement may fall through [-Wimplicit-fallthrough=] # if (fas216_get_last_msg(info, info->scsi.msgin_fifo) == ABORT) { # ^ # drivers/scsi/arm/fas216.c:919:2: note: here # default: /* huh? */ # ^~~~~~~ # drivers/scsi/arm/fas216.c: In function ‘fas216_kick’: # drivers/scsi/arm/fas216.c:1959:3: warning: this statement may fall through [-Wimplicit-fallthrough=] # fas216_allocate_tag(info, SCpnt); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # drivers/scsi/arm/fas216.c:1960:2: note: here # case TYPE_OTHER: # ^~~~ # drivers/scsi/arm/fas216.c: In function ‘fas216_busservice_intr’: # drivers/scsi/arm/fas216.c:1413:3: warning: this statement may fall through [-Wimplicit-fallthrough=] # fas216_stoptransfer(info); # ^~~~~~~~~~~~~~~~~~~~~~~~~ # drivers/scsi/arm/fas216.c:1414:2: note: here # case STATE(STAT_STATUS, PHASE_SELSTEPS):/* Sel w/ steps -> Status */ # ^~~~ # drivers/scsi/arm/fas216.c:1424:3: warning: this statement may fall through [-Wimplicit-fallthrough=] # fas216_stoptransfer(info); # ^~~~~~~~~~~~~~~~~~~~~~~~~ # drivers/scsi/arm/fas216.c:1425:2: note: here # case STATE(STAT_MESGIN, PHASE_COMMAND): /* Command -> Message In */ # ^~~~ # drivers/scsi/arm/fas216.c: In function ‘fas216_funcdone_intr’: # drivers/scsi/arm/fas216.c:1573:6: warning: this statement may fall through [-Wimplicit-fallthrough=] # if ((stat & STAT_BUSMASK) == STAT_MESGIN) { # ^ # drivers/scsi/arm/fas216.c:1579:2: note: here # default: # ^~~~~~~ # drivers/scsi/arm/fas216.c: In function ‘fas216_handlesync’: # drivers/scsi/arm/fas216.c:605:20: warning: this statement may fall through [-Wimplicit-fallthrough=] # info->scsi.phase = PHASE_MSGOUT_EXPECT; # ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ # drivers/scsi/arm/fas216.c:607:2: note: here # case async: # ^~~~ # # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 5dfc1167928d02040eee01ffbdbcf0305c11d23a # < make -s -j 24 ARCH=powerpc O=/kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/powerpc/kernel/align.c: In function 'emulate_spe': /kisskb/src/arch/powerpc/kernel/align.c:178:8: error: this statement may fall through [-Werror=implicit-fallthrough=] ret |= __get_user_inatomic(temp.v[3], p++); ^~ /kisskb/src/arch/powerpc/kernel/align.c:179:3: note: here case 4: ^~~~ /kisskb/src/arch/powerpc/kernel/align.c:181:8: error: this statement may fall through [-Werror=implicit-fallthrough=] ret |= __get_user_inatomic(temp.v[5], p++); ^~ /kisskb/src/arch/powerpc/kernel/align.c:182:3: note: here case 2: ^~~~ /kisskb/src/arch/powerpc/kernel/align.c:261:8: error: this statement may fall through [-Werror=implicit-fallthrough=] ret |= __put_user_inatomic(data.v[3], p++); ^~ /kisskb/src/arch/powerpc/kernel/align.c:262:3: note: here case 4: ^~~~ /kisskb/src/arch/powerpc/kernel/align.c:264:8: error: this statement may fall through [-Werror=implicit-fallthrough=] ret |= __put_user_inatomic(data.v[5], p++); ^~ /kisskb/src/arch/powerpc/kernel/align.c:265:3: note: here case 2: ^~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:273: arch/powerpc/kernel/align.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:490: arch/powerpc/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1079: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/gustavoars_mpc85xx_defconfig_powerpc-gcc8 # Build took: 0:00:56.123101