diff options
author | Megan Kamiya <megan.a.kamiya@intel.com> | 2014-09-06 07:19:10 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-17 03:09:09 +0400 |
commit | 63ddc0b8fe5ebbac88e2ac84b489470bf3a22965 (patch) | |
tree | 34ffa6316d46ec8510838e6090213d6f5ffedc6d /include/linux/pci_ids.h | |
parent | 9fe373f9997b48fcd6222b95baf4a20c134b587a (diff) | |
download | linux-63ddc0b8fe5ebbac88e2ac84b489470bf3a22965.tar.xz |
PCI: Parenthesize PCI_DEVID and PCI_VPD_LRDT_ID parameters
Add parentheses around parameters in PCI_DEVID and PCI_VPD_LRDT_ID macros
to prevent possible expansion errors as described by the CERT Secure Coding
Standard: PRE01-C: Use parentheses within macros around parameter names
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Megan Kamiya <megan.a.kamiya@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci_ids.h')
0 files changed, 0 insertions, 0 deletions