Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1530292pxb; Sun, 12 Sep 2021 22:56:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoUxA8dCSzaKYNpYtPsOp3AgoUBKqeAcNUh4vLpUUVp25RYkNRyK+d3eyYza+GvxUsuGyh X-Received: by 2002:a92:db0b:: with SMTP id b11mr2813092iln.275.1631512606985; Sun, 12 Sep 2021 22:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631512606; cv=none; d=google.com; s=arc-20160816; b=ahncN/DjYz8Hx41yDV5+glvMVb/gqr3mWpULJ3Xs+bGkZNhZAZkUqOGDBKHP0y+8H4 5OKEywNyDrHwkx/LqZ3GMSnlvmi5eTk/4+M84/XAM09bLijdN5kOh+fg5Lfx2dvXvf2J ycYSREVQi7bAOmjGB3EAPaJCCC5qIPmWdPIV9904RgV3e/ID2jBaG/x0ze2/w4K8b9z6 HHmFFfhfOz6QtX76SjWA24h3yttN4xL0jALTQe1x0S19SxQE7rSaa5ZXQhAhhh8T5Vf1 tloZC2kGNrBaKgWr7+gt3lJpqFQnaLus272FqHU1jwjdWzM8edxgO46VAIT9JmXs58eY 3TnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DayTXBwbvVaQx4LfEv0thvml5ih6YQzC9fEqMQRhHrI=; b=nAjxUJBmV+kTigE+INMhfOUiiuMRKGqbsOiPzzmBkIbAOKAUcvTIXiTklB3VPjIKg8 pyBgbv/M7++r6TU6LMjdsZwCm7IzT74nWJNICeDCqO8jy+rmlXkHzh9SXE2ftOUJTuqn kO3nIdABf2ChXM62uab6vcQQI1dUaV9DwTakInccr1GbiSC+YksILrEP4H7Tn7KN1dAK udUvb2lkG1nLkvoIvoEkMdkm47iP70rU8GtBtfPbDF6QyTEY0l9aXgD7yW2uKU0k8RfA RDkDoCV6NvRQRRhcAPvZIItBRzZkbSZeXQxUY80t7c3D6b/oXV/KMt2AobtK194aVspd PnYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ZXvU/SFo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l39si5852920jac.108.2021.09.12.22.56.35; Sun, 12 Sep 2021 22:56:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ZXvU/SFo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237191AbhIMF4d (ORCPT + 99 others); Mon, 13 Sep 2021 01:56:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:45891 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237132AbhIMF4U (ORCPT ); Mon, 13 Sep 2021 01:56:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631512504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DayTXBwbvVaQx4LfEv0thvml5ih6YQzC9fEqMQRhHrI=; b=ZXvU/SFoteqBmHDIMZUXQNrGCMa2/56S1iU5OuTNQuQCDxl+dDWJbcOjcgA+Iyqkg+fGXj StYMOQielFWEqDNFu+G7A1MY9KFk+VmZc/kQP5xvAF8IHCLiitZn3dZHFDvk47KTnPb2B1 q1fbxdpU5RDsB9Ezzmv36OhMy1mmwe0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-308-cnnpisIqNia-Guzgtr5aMQ-1; Mon, 13 Sep 2021 01:55:03 -0400 X-MC-Unique: cnnpisIqNia-Guzgtr5aMQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4A9E3362F8; Mon, 13 Sep 2021 05:55:02 +0000 (UTC) Received: from localhost.localdomain (ovpn-13-146.pek2.redhat.com [10.72.13.146]) by smtp.corp.redhat.com (Postfix) with ESMTP id C39AA5C3E0; Mon, 13 Sep 2021 05:54:55 +0000 (UTC) From: Jason Wang To: mst@redhat.com, jasowang@redhat.com Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, f.hetzelt@tu-berlin.de, david.kaplan@amd.com, konrad.wilk@oracle.com Subject: [PATCH 8/9] virtio_ring: fix typos in vring_desc_extra Date: Mon, 13 Sep 2021 13:53:52 +0800 Message-Id: <20210913055353.35219-9-jasowang@redhat.com> In-Reply-To: <20210913055353.35219-1-jasowang@redhat.com> References: <20210913055353.35219-1-jasowang@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We're actually tracking descriptor address and length instead of the buffer. Signed-off-by: Jason Wang --- drivers/virtio/virtio_ring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index dd95dfd85e98..d2ca0a7365f8 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -79,8 +79,8 @@ struct vring_desc_state_packed { }; struct vring_desc_extra { - dma_addr_t addr; /* Buffer DMA addr. */ - u32 len; /* Buffer length. */ + dma_addr_t addr; /* Descriptor DMA addr. */ + u32 len; /* Descriptor length. */ u16 flags; /* Descriptor flags. */ u16 next; /* The next desc state in a list. */ }; -- 2.25.1