Re: [PATCH] MIPS: math-emu: cp1emu: Fix closing bracket for the d_fmt case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 16, 2015 at 02:06:45PM +0100, Markos Chandras wrote:

> The double format (d_fmt) case uses an opening bracket which then
> closes at the end of the word format (w_fmt). This can be rather confusing
> so add the closing bracket at the end of the d_fmt case and use another one
> for the w_fmt one.

Heh.  There used to be a construct like

  switch (foo)
  case val1:
	if (bla) {
		...
  case val2:
	} else {
  case val3:
	}
  }

in the kernel and even though entirely correct I received several bug
reports for it.  One reportes even suggested a bug report against GCC!

So queued for peace of mind in 4.3.  Thanks!

  Ralf




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux