Commit a596a7be authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Bjorn Helgaas

PCI/DPC: Rename local "status" to "dpc_status"

In dpc_rp_pio_get_info() rename the local "status" variable to
"dpc_status".  This is to make room for another variable named "status" in
a subsequent patch.  No functional change intended.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarKeith Busch <keith.busch@intel.com>
Reviewed-by: default avatarSinan Kaya <okaya@codeaurora.org>
parent 0bbe0eb8
...@@ -183,7 +183,7 @@ static void dpc_rp_pio_get_info(struct dpc_dev *dpc, ...@@ -183,7 +183,7 @@ static void dpc_rp_pio_get_info(struct dpc_dev *dpc,
{ {
struct pci_dev *pdev = dpc->dev->port; struct pci_dev *pdev = dpc->dev->port;
int i; int i;
u16 cap = dpc->cap_pos, status; u16 cap = dpc->cap_pos, dpc_status;
pci_read_config_dword(pdev, cap + PCI_EXP_DPC_RP_PIO_STATUS, pci_read_config_dword(pdev, cap + PCI_EXP_DPC_RP_PIO_STATUS,
&rp_pio->status); &rp_pio->status);
...@@ -198,8 +198,8 @@ static void dpc_rp_pio_get_info(struct dpc_dev *dpc, ...@@ -198,8 +198,8 @@ static void dpc_rp_pio_get_info(struct dpc_dev *dpc,
&rp_pio->exception); &rp_pio->exception);
/* Get First Error Pointer */ /* Get First Error Pointer */
pci_read_config_word(pdev, cap + PCI_EXP_DPC_STATUS, &status); pci_read_config_word(pdev, cap + PCI_EXP_DPC_STATUS, &dpc_status);
rp_pio->first_error = (status & 0x1f00) >> 8; rp_pio->first_error = (dpc_status & 0x1f00) >> 8;
if (dpc->rp_log_size < 4) if (dpc->rp_log_size < 4)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment