From nobody Mon Feb 9 03:45:53 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E664133A9FE for ; Wed, 14 Jan 2026 18:49:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768416568; cv=none; b=nDZpXfJhLquKx0oAvit5n+ENls3TcwcoLgdh0FokGKLue4JIo4J5kUqvFSIGqfSMsRgmfwXB+TP8W1puoqucc9fcWF00nYug7c01yEK0nBgtg/1mZuEIYehs+/ahpKUIy5twyIPVeSVneSCPVKxnEMoPycR+i/0EJrCkvs1+qPI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768416568; c=relaxed/simple; bh=h1ix4/OpVOP1YodydNrqu+/k/yp+QcMNM+RWjSLIAnI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MBuGfZSKsg7U1K/oJCdaNlMOgKaTwsWS1dpQpqdTYeXnBfi2o3CivhHDr+ODPtDXzZE2qxGstPqyq2blb1GOlGOng4zw8PQ7Ee9zTcEyoOW8QUi3RhVsUongvl1C/QMZE7lIaXAlmv5yFPPUIEq7hFIBtid1IclMFohiIO6TGgU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=OiRyr0o3; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OiRyr0o3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768416566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t8r37IrWlL6TNwvrTbZ9d4b9SIJ0stlyZpgQwTmkyS4=; b=OiRyr0o32O9NyA3U10sGDVTH/ukSo6eD6F7G2VhmP9xDkLsf2gto6tJtEB1bjHEHLPg9qu cJUvBbGzH0jyjfG40u9a7Ylg3xJvna5a+J6oDn0x/LwfMe9SESptZyE+FHFTmiJ4ZMsNoH /uPgncriv276fEC0m//AlqfTdK1luB4= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-203-PjSq_8oBMdigaVW-bZ3lPA-1; Wed, 14 Jan 2026 13:49:22 -0500 X-MC-Unique: PjSq_8oBMdigaVW-bZ3lPA-1 X-Mimecast-MFC-AGG-ID: PjSq_8oBMdigaVW-bZ3lPA_1768416561 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 08D841956067; Wed, 14 Jan 2026 18:49:21 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.45.224.103]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 7A33719560A7; Wed, 14 Jan 2026 18:49:16 +0000 (UTC) From: =?UTF-8?q?Eugenio=20P=C3=A9rez?= To: "Michael S . Tsirkin " Cc: Maxime Coquelin , Xuan Zhuo , =?UTF-8?q?Eugenio=20P=C3=A9rez?= , virtualization@lists.linux.dev, jasowang@redhat.com, Stefano Garzarella , Yongji Xie , linux-kernel@vger.kernel.org, Cindy Lu , Laurent Vivier Subject: [PATCH v12 08/13] vduse: remove unused vaddr parameter of vduse_domain_free_coherent Date: Wed, 14 Jan 2026 19:48:34 +0100 Message-ID: <20260114184839.926884-9-eperezma@redhat.com> In-Reply-To: <20260114184839.926884-1-eperezma@redhat.com> References: <20260114184839.926884-1-eperezma@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 We will modify the function in next patches so let's clean it first. Signed-off-by: Eugenio P=C3=A9rez --- drivers/vdpa/vdpa_user/iova_domain.c | 3 +-- drivers/vdpa/vdpa_user/iova_domain.h | 3 +-- drivers/vdpa/vdpa_user/vduse_dev.c | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/vdpa/vdpa_user/iova_domain.c b/drivers/vdpa/vdpa_user/= iova_domain.c index 4352b5cf74f0..309cd5a039d1 100644 --- a/drivers/vdpa/vdpa_user/iova_domain.c +++ b/drivers/vdpa/vdpa_user/iova_domain.c @@ -528,8 +528,7 @@ void *vduse_domain_alloc_coherent(struct vduse_iova_dom= ain *domain, } =20 void vduse_domain_free_coherent(struct vduse_iova_domain *domain, size_t s= ize, - void *vaddr, dma_addr_t dma_addr, - unsigned long attrs) + dma_addr_t dma_addr, unsigned long attrs) { struct iova_domain *iovad =3D &domain->consistent_iovad; struct vhost_iotlb_map *map; diff --git a/drivers/vdpa/vdpa_user/iova_domain.h b/drivers/vdpa/vdpa_user/= iova_domain.h index a923971a64f5..081f06c52cdc 100644 --- a/drivers/vdpa/vdpa_user/iova_domain.h +++ b/drivers/vdpa/vdpa_user/iova_domain.h @@ -70,8 +70,7 @@ void *vduse_domain_alloc_coherent(struct vduse_iova_domai= n *domain, gfp_t flag); =20 void vduse_domain_free_coherent(struct vduse_iova_domain *domain, size_t s= ize, - void *vaddr, dma_addr_t dma_addr, - unsigned long attrs); + dma_addr_t dma_addr, unsigned long attrs); =20 void vduse_domain_reset_bounce_map(struct vduse_iova_domain *domain); =20 diff --git a/drivers/vdpa/vdpa_user/vduse_dev.c b/drivers/vdpa/vdpa_user/vd= use_dev.c index 43851b0711ac..0e3cf5128ad0 100644 --- a/drivers/vdpa/vdpa_user/vduse_dev.c +++ b/drivers/vdpa/vdpa_user/vduse_dev.c @@ -948,7 +948,7 @@ static void vduse_dev_free_coherent(union virtio_map to= ken, size_t size, vdev =3D token.group->dev; domain =3D vdev->domain; =20 - vduse_domain_free_coherent(domain, size, vaddr, dma_addr, attrs); + vduse_domain_free_coherent(domain, size, dma_addr, attrs); } =20 static bool vduse_dev_need_sync(union virtio_map token, dma_addr_t dma_add= r) --=20 2.52.0