.coredump spatch

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

 



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, but I failed to match the driver
member because it is embedded inside an other structure, it looks like
this for example:

static struct pci_driver brcmf_pciedrvr = {
....
	.driver.coredump = brcmf_dev_coredump,
};

I would like to convert this to this:

static struct pci_driver brcmf_pciedrvr = {
....
#if LINUX_VERSION_IS_GEQ(4,16,0)
	.driver.coredump = brcmf_dev_coredump,
#endif
};

Hauke

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux