On Mon, 2018-09-17 at 23:39 +0200, Hauke Mehrtens wrote: > The device structure now has this .coredump member which is also used by > some wireless drivers, see here for example: > https://git.kernel.org/linus/8e072168f75ebce85b96cbcefea2b10ddbd5913f > > I tried to create a spatch for this How did you try? This seems to work for me: @@ identifier drv, fn; @@ static struct pci_driver drv = { .driver = { +#if LINUX_VERSION_IS_GEQ(4,16,0) .coredump = fn, +#endif ... }, ... }; @@ identifier drv, fn; @@ static struct pci_driver drv = { +#if LINUX_VERSION_IS_GEQ(4,16,0) .driver.coredump = fn, +#endif ... }; johannes -- To unsubscribe from this list: send the line "unsubscribe backports" in