forked from Minki/linux
3fedeab10b
Add a new file t4_pci_id_tbl.h that contains T4/T5 PCI ID Table so that for all drivers that uses T4/T5 PCI functions changes can be done in one place. checkpatch.pl script reports following error, which if tried to fix ends up in compilation error. ERROR: Macros with complex values should be enclosed in parentheses +#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END \ + { 0, } \ + } WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? new file mode 100644 ERROR: Macros with complex values should be enclosed in parentheses +#define CH_PCI_ID_TABLE_FENTRY(devid) \ + CH_PCI_ID_TABLE_ENTRY((devid) | \ + ((CH_PCI_DEVICE_ID_FUNCTION) << 8)), \ + CH_PCI_ID_TABLE_ENTRY((devid) | \ + ((CH_PCI_DEVICE_ID_FUNCTION2) << 8)) ERROR: Macros with complex values should be enclosed in parentheses +#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END { 0, } } ERROR: Macros with complex values should be enclosed in parentheses +#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END { 0, } } Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
csio_attr.c | ||
csio_defs.h | ||
csio_hw_chip.h | ||
csio_hw_t4.c | ||
csio_hw_t5.c | ||
csio_hw.c | ||
csio_hw.h | ||
csio_init.c | ||
csio_init.h | ||
csio_isr.c | ||
csio_lnode.c | ||
csio_lnode.h | ||
csio_mb.c | ||
csio_mb.h | ||
csio_rnode.c | ||
csio_rnode.h | ||
csio_scsi.c | ||
csio_scsi.h | ||
csio_wr.c | ||
csio_wr.h | ||
Kconfig | ||
Makefile | ||
t4fw_api_stor.h |