[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <60e0b4b5b1f925743d2bfbbaf170bfecfd0c92fc.camel@perches.com>
Date: Sat, 19 Feb 2022 03:08:57 -0800
From: Joe Perches <joe@...ches.com>
To: Randy Dunlap <rdunlap@...radead.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: fallthrough question
On Fri, 2022-02-18 at 13:57 -0800, Randy Dunlap wrote:
> Hi,
>
> I expected this to produce a fallthrough warning, but it doesn't
> (with gcc 11.1.0):
>
> from sound/oss/dmasound/dmasound_core.c:#1481, when falling from case 1
> into case 0: (in arch/m68k/ selected builds only)
>
> case 1:
> if ((size = ints[2]) < 256) /* check for small buffer specs */
> size <<= 10 ;
> if (size < MIN_BUFSIZE || size > MAX_BUFSIZE)
> printk("dmasound_setup: invalid write buffer size, using default = %d\n", writeBufSize);
> else
> writeBufSize = size;
> case 0:
> break;
> default:
>
> Can you tell me what is going on here?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91432
Powered by blists - more mailing lists