Messages in this thread |  | | Date | Mon, 30 Jul 2012 23:41:35 +0300 | | Subject | Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create() | | From | Pekka Enberg <> |
| |
On Mon, Jul 30, 2012 at 10:56 PM, David Rientjes <rientjes@google.com> wrote: > -Wunused-label is overridden in gcc for a label that is conditionally > referenced by using __maybe_unused in the kernel. I'm not sure what's so > obscure about > > out: __maybe_unused > > Are label attributes really that obsecure?
I think they are.
The real problem, however, is that label attributes would just paper over the badly thought out control flow in the function and not make the code any better or easier to read.
Pekka
|  |