]> www.infradead.org Git - users/willy/linux.git/commitdiff
powerpc: tag implicit fall throughs
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 25 Nov 2018 21:32:39 +0000 (08:32 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 26 Nov 2018 09:08:58 +0000 (20:08 +1100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/kernel/nvram_64.c
arch/powerpc/platforms/powermac/feature.c
arch/powerpc/xmon/xmon.c

index 22e9d281324daf63e92d16b1f32db3ec73aa23ad..06e2eda2430e8647e230db2e725ab4583cc92d00 100644 (file)
@@ -809,6 +809,7 @@ static long dev_nvram_ioctl(struct file *file, unsigned int cmd,
 #ifdef CONFIG_PPC_PMAC
        case OBSOLETE_PMAC_NVRAM_GET_OFFSET:
                printk(KERN_WARNING "nvram: Using obsolete PMAC_NVRAM_GET_OFFSET ioctl\n");
+               /* fall through */
        case IOC_NVRAM_GET_OFFSET: {
                int part, offset;
 
index ed2f54b3f173ddc5d00a140b111eb5db95f1a593..a7ec06876b539b60ca5fbac8ef8787969018e703 100644 (file)
@@ -1471,6 +1471,7 @@ static long g5_i2s_enable(struct device_node *node, long param, long value)
        case 2:
                if (macio->type == macio_shasta)
                        break;
+               /* fall through */
        default:
                return -ENODEV;
        }
index 36b8dc47a3c32408d88a2d923a6bf316f8369ee9..308326f8b7ed474dc10da5f92ebfa4d5a86341d7 100644 (file)
@@ -4033,6 +4033,7 @@ static int do_spu_cmd(void)
                subcmd = inchar();
                if (isxdigit(subcmd) || subcmd == '\n')
                        termch = subcmd;
+               /* fall through */
        case 'f':
                scanhex(&num);
                if (num >= XMON_NUM_SPUS || !spu_info[num].spu) {