]> www.infradead.org Git - users/willy/xarray.git/commitdiff
ia64: annotate switch fallthroughs in ia64_handle_unaligned
authorChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2019 06:55:22 +0000 (08:55 +0200)
committerTony Luck <tony.luck@intel.com>
Mon, 12 Aug 2019 16:53:13 +0000 (09:53 -0700)
Replace the "no break" comments with something that the compiler
recognizes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lkml.kernel.org/r/20190812065524.19959-3-hch@lst.de
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unaligned.c

index eb7d5df59fa32c3c804ac796c77cb6d59c4f498a..2d4e65ba5c3e9025bb0ccad498a0ee5f6624bccc 100644 (file)
@@ -1431,7 +1431,7 @@ ia64_handle_unaligned (unsigned long ifa, struct pt_regs *regs)
                if (u.insn.x)
                        /* oops, really a semaphore op (cmpxchg, etc) */
                        goto failure;
-               /* no break */
+               /*FALLTHRU*/
              case LDS_IMM_OP:
              case LDSA_IMM_OP:
              case LDFS_OP:
@@ -1459,7 +1459,7 @@ ia64_handle_unaligned (unsigned long ifa, struct pt_regs *regs)
                if (u.insn.x)
                        /* oops, really a semaphore op (cmpxchg, etc) */
                        goto failure;
-               /* no break */
+               /*FALLTHRU*/
              case LD_IMM_OP:
              case LDA_IMM_OP:
              case LDBIAS_IMM_OP:
@@ -1475,7 +1475,7 @@ ia64_handle_unaligned (unsigned long ifa, struct pt_regs *regs)
                if (u.insn.x)
                        /* oops, really a semaphore op (cmpxchg, etc) */
                        goto failure;
-               /* no break */
+               /*FALLTHRU*/
              case ST_IMM_OP:
              case STREL_IMM_OP:
                ret = emulate_store_int(ifa, u.insn, regs);