]> git.karo-electronics.de Git - linux-beck.git/commit
trace, RAS: Replace bare numbers with #defines for PCIe AER error strings
authorChen, Gong <gong.chen@linux.intel.com>
Wed, 13 Aug 2014 06:22:37 +0000 (02:22 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 25 Sep 2014 15:07:41 +0000 (09:07 -0600)
commit99d440242c08c8a95576c0bc89278f8912f65bda
tree151bfcf7a0e7a06e6969458c6b4e45d19fe070dd
parent52addcf9d6669fa439387610bc65c92fa0980cef
trace, RAS: Replace bare numbers with #defines for PCIe AER error strings

Replace bare numbers like "BIT(0)" with the existing #defines, e.g.,
PCI_ERR_COR_RCVR, to improve maintainability.  This way grep will find more
uses of the #defines.

No functional change.

[bhelgaas: changelog]
Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/ras/ras_event.h