Thread (14 messages) 14 messages, 6 authors, 2021-08-09

Re: [PATCH v2 5/6] PCI: Adapt all code locations to not use struct pci_dev::driver directly

From: Andy Shevchenko <hidden>
Date: 2021-08-03 14:39:32
Also in: linux-crypto, linux-pci, linux-perf-users, linux-usb, linux-wireless, linuxppc-dev, lkml, netdev, xen-devel

On Tue, Aug 03, 2021 at 12:01:49PM +0200, Uwe Kleine-König wrote:
This prepares removing the driver member of struct pci_dev which holds the
same information than struct pci_dev::dev->driver.
...
+	struct pci_driver *pdrv;
Missed blank line here and everywhere else. I don't remember if it's a
checkpatch who complains on this.
+	return (pdev && (pdrv = pci_driver_of_dev(pdev))) ? pdrv->name : "<null>";
-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help