Thread (33 messages) 33 messages, 9 authors, 2014-07-22

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

From: Dave Airlie <airlied@gmail.com>
Date: 2014-07-18 21:14:12
Also in: dri-devel, linux-can, linux-crypto, linux-mips, linux-mmc, linux-rdma, linux-scsi, platform-driver-x86, virtualization

We have almost 1000 more uses of the non-macro version than the "macro"
version in the kernel today:
$ git grep -w DEFINE_PCI_DEVICE_TABLE | wc -l
262
$ git grep "const struct pci_device_id" | wc -l
1254
did you check for non-const ones? just to see if we have any of the
broken case in the tree :-)

as for consistency, pci_dev vs usb_device :-P

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