PCI: Parenthesize PCI_DEVID and PCI_VPD_LRDT_ID parameters
authorMegan Kamiya <megan.a.kamiya@intel.com>
Sat, 6 Sep 2014 03:19:10 +0000 (20:19 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 16 Sep 2014 23:09:09 +0000 (17:09 -0600)
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>
include/linux/pci.h

Simple merge