Re: Patch[Kernel 3.13.5]

From: Borislav Petkov
Date: Thu Mar 06 2014 - 05:58:38 EST


On Thu, Mar 06, 2014 at 04:00:04AM +0000, Nick Krause wrote:
> Here is my first patch, adding a break point to fix bug 60845, case fallout through on switch
> in arch/mips/pci/msi-octeon.c.
>
> --- //home/nick/linux-3.13.5/arch/mips/pci/msi-octeon.c.origÂÂÂ 2014-03-05 22:48:19.084372515 -0500
> +++ //home/nick/linux-3.13.5/arch/mips/pci/msi-octeon.cÂÂÂ 2014-03-05 22:48:48.388372344 -0500
> @@ -150,6 +150,7 @@ msi_irq_allocated:
> ÂÂÂÂ ÂÂÂ msg.address_lo =
> ÂÂÂÂ ÂÂÂ ÂÂÂ ((128ul << 20) + CVMX_PCI_MSI_RCV) & 0xffffffff;
> ÂÂÂÂ ÂÂÂ msg.address_hi = ((128ul << 20) + CVMX_PCI_MSI_RCV)>> 32;
> +ÂÂÂ ÂÂÂ break;
> ÂÂÂÂ case OCTEON_DMA_BAR_TYPE_BIG:
> ÂÂÂÂ ÂÂÂ /* When using big bar, Bar 0 is based at 0 */
> ÂÂÂÂ ÂÂÂ msg.address_lo = (0 + CVMX_PCI_MSI_RCV) & 0xffffffff;
> Got one error no maintainer otherwise not issues with coding style.

Looks like a real bug you've found, as e8635b484f644 still has the
"break" in there.

However, if you want to learn how to prepare patches properly, take a
look at Documentation/SubmittingPatches.

There it also says how to find out who exactly to send this patch to:

$ ./scripts/get_maintainer.pl -f arch/mips/pci/msi-octeon.c
Ralf Baechle <ralf@xxxxxxxxxxxxxx> (supporter:MIPS)
linux-mips@xxxxxxxxxxxxxx (open list:MIPS)

I've CCed them.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/