Messages in this thread | | | Subject | Re: [PATCH RESEND 1/3] printk: convert byte-buffer to variable-length record buffer | From | Joe Perches <> | Date | Wed, 09 May 2012 19:46:12 -0700 |
| |
On Thu, 2012-05-10 at 04:32 +0200, Kay Sievers wrote: > --- a/kernel/printk.c [] > @@ -1295,20 +1296,16 @@ asmlinkage int vprintk_emit(int facility > case '0' ... '7': > if (level == -1) > level = text[1] - '0'; > - text += 3; > - textlen -= 3; > - break; > - case 'c': /* KERN_CONT */ > - cont = true; > case 'd': /* KERN_DEFAULT */ > + prefix = true; > + case 'c': /* KERN_CONT */
trivia:
Please add /* fallthrough */ comment lines so it shows the "missing" breaks are intentional.
| |