[PATCH kernel] powerpc/powernv: Fix debug macro

Michael Ellerman mpe at ellerman.id.au
Fri Apr 29 15:29:40 AEST 2016


On Fri, 2016-04-29 at 14:56 +1000, Alexey Kardashevskiy wrote:

> When cfg_dbg() is enabled (i.e. mapped to printk()), gcc produces
> errors as the __func__ parameter is missing (pnv_pci_cfg_read() has one);
> this adds the missing parameter.

Thanks.

But the whole file should just be converted to use pr_devel(), which is an
existing well known macro and will catch this for you.

cheers



More information about the Linuxppc-dev mailing list