From patchwork Mon Dec 13 07:00:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pei, Andy" X-Patchwork-Id: 105081 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7DBCA0032; Mon, 13 Dec 2021 08:46:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32FDD40140; Mon, 13 Dec 2021 08:46:47 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id B7EF240042; Mon, 13 Dec 2021 08:46:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639381606; x=1670917606; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=/oQ9JtV8XtXg9Y7blFxE3fQcm+jmIIFYfAU2yUC3soI=; b=laC9v4RgdV6t9QXxMHi3mEk406Br5u8NcPw5vueZH+79Row3uSRVTIK+ UQAJ5O4jN4EXEzV6g3a0g71EtRDlXHNVLNRLA9hMu6PPvWtmQLhSLGKwC w2MD40n9Byq78yUT1yE54Yww6gw/H7gUgTNQSPY7oKe4WY7J6OFkZHLej 50o52rQgcipN2ONV+CAm2/TCQvtvGBdcKb3luqXz30j4f1AH3q+P4b8pK KfZr0mQylm/MXI/rGY14azT8n+yt/qghPMF3GJ9jYTkqYNNSpsx4yPzqM 78o4f0/lcyNrct7sAC5fl5sM5KPtGB7rEObtdDT+ekva7oblhwLf6zDgq g==; X-IronPort-AV: E=McAfee;i="6200,9189,10196"; a="302062739" X-IronPort-AV: E=Sophos;i="5.88,202,1635231600"; d="scan'208";a="302062739" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2021 23:46:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,201,1635231600"; d="scan'208";a="481427481" Received: from dpdk-dipei.sh.intel.com ([10.67.111.91]) by orsmga002.jf.intel.com with ESMTP; 12 Dec 2021 23:46:28 -0800 From: Andy Pei To: dev@dpdk.org Cc: chenbo.xia@intel.com, stable@dpdk.org Subject: [PATCH v3] vdpa/ifc: fix log info mismatch Date: Mon, 13 Dec 2021 15:00:40 +0800 Message-Id: <1639378840-124922-1-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1639369746-103068-1-git-send-email-andy.pei@intel.com> References: <1639369746-103068-1-git-send-email-andy.pei@intel.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Fix log info mismatch. Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver") Cc: stable@dpdk.org Signed-off-by: Andy Pei Reviewed-by: Chenbo Xia --- drivers/vdpa/ifc/base/ifcvf.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/vdpa/ifc/base/ifcvf.c b/drivers/vdpa/ifc/base/ifcvf.c index 721cb1d..d10c1fd 100644 --- a/drivers/vdpa/ifc/base/ifcvf.c +++ b/drivers/vdpa/ifc/base/ifcvf.c @@ -94,12 +94,14 @@ 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; }