Skip to content

Commit

Permalink
vdpa/ifc: fix log info mismatch
Browse files Browse the repository at this point in the history
[ upstream commit 527ec43 ]

Fix log info mismatch.

Fixes: a3f8150 ("net/ifcvf: add ifcvf vDPA driver")

Signed-off-by: Andy Pei <andy.pei@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
  • Loading branch information
Andy-Pei-666 authored and kevintraynor committed Feb 21, 2022
1 parent 7c58dbf commit efc7ea9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions drivers/vdpa/ifc/base/ifcvf.c
Expand Up @@ -94,12 +94,14 @@ ifcvf_init_hw(struct ifcvf_hw *hw, PCI_DEV *dev)
return -1;
}

DEBUGOUT("capability mapping:\ncommon cfg: %p\n"
"notify base: %p\nisr cfg: %p\ndevice cfg: %p\n"
"multiplier: %u\n",
hw->common_cfg, hw->dev_cfg,
hw->isr, hw->notify_base,
hw->notify_off_multiplier);
DEBUGOUT("capability mapping:\n"
"common cfg: %p\n"
"notify base: %p\n"
"isr cfg: %p\n"
"device cfg: %p\n"
"multiplier: %u\n",
hw->common_cfg, hw->notify_base, hw->isr, hw->dev_cfg,
hw->notify_off_multiplier);

return 0;
}
Expand Down

0 comments on commit efc7ea9

Please sign in to comment.