From nobody Sun Feb 8 11:26:01 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 86E792D73A8 for ; Fri, 16 Jan 2026 14:05:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768572339; cv=none; b=Pco4hG3H8VGoMfkKLzczuMgvrmYiFnYeefPwji85mTECgPt7YlWXW2XiybZpTTNsJJz2z+dMfSg6zhdcY6HLTAdb2Xdt9U9zGEtEZsPmi7EyYEyS0zHEBsXU7p7PwX20DIAnQfKMVHnS7TYR6Gi64Tetyk/gCrXf/OhSklgCO+c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768572339; 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=T34kLSlC3fq0uRtKfn+Au5iDwOONSgUS6KMxZKH5FSS980dUr+SkcwvPx8hJXBOwLo+PGlRklAKxEXJCJZSc2l258rdAa4nSV95HlSIz3z4PSqP1F9kV5BYpreasZRDPEXdDfvtvGxt2pz48SLcXUpsELpKvXjrfS1/sQEyLAwE= 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=RCjwl2Pc; arc=none smtp.client-ip=170.10.133.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="RCjwl2Pc" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768572337; 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=RCjwl2PchQqvEy+TBe5LPuoks4s5umjfcNjVzxtyh/B+dlIxsPNDzbzz2Ltcu8ARLEWp5b 3WnEkiZs2Q7CQzBbheHs0pjLJSblqtBEeMLl+Nh3I3llJq4fv3BKjQ2dCH4LgtZ0klmWib 3o4BSOFy81s0wz2UuUIPprxctkG6uu8= Received: from mx-prod-mc-05.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-694-HFon3_BpOjup_p2n9Yzftg-1; Fri, 16 Jan 2026 09:05:36 -0500 X-MC-Unique: HFon3_BpOjup_p2n9Yzftg-1 X-Mimecast-MFC-AGG-ID: HFon3_BpOjup_p2n9Yzftg_1768572335 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 341EA1956095; Fri, 16 Jan 2026 14:05:35 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.45.226.82]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9E9AF3001DBE; Fri, 16 Jan 2026 14:05:31 +0000 (UTC) From: =?UTF-8?q?Eugenio=20P=C3=A9rez?= To: "Michael S . Tsirkin " Cc: Laurent Vivier , linux-kernel@vger.kernel.org, jasowang@redhat.com, Xuan Zhuo , =?UTF-8?q?Eugenio=20P=C3=A9rez?= , Maxime Coquelin , Cindy Lu , virtualization@lists.linux.dev, Yongji Xie , Stefano Garzarella Subject: [PATCH v14 08/13] vduse: remove unused vaddr parameter of vduse_domain_free_coherent Date: Fri, 16 Jan 2026 15:04:50 +0100 Message-ID: <20260116140455.1560491-9-eperezma@redhat.com> In-Reply-To: <20260116140455.1560491-1-eperezma@redhat.com> References: <20260116140455.1560491-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.4.1 on 10.30.177.4 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