Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4890259pxj; Tue, 25 May 2021 20:14:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxI2omuVgtsD4qX6oSin5G9qpkHurpimHC9XshfQbSCYF6RcoltdKTpHCHdHuamSOHzu6mo X-Received: by 2002:a50:9558:: with SMTP id v24mr35094883eda.264.1621998845855; Tue, 25 May 2021 20:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621998845; cv=none; d=google.com; s=arc-20160816; b=KHrJlwWjhpVVt2TmOesunIcy5FIOykJfALq8mCxrIMgfuC2w6uq8GQX2sRGfecrm3i 9t6WEMgUmdSClRnfJhQ8ev6FAezXtXeOKJyQZwe1WAE+WIwpbLdmZnjyA1dN5jLqL2ro 2dHBxmb2h/vKh48zwE7SLmu/xcYGMoq5VkLDtFANGrHb49xREml4JnJ3SIETEcb/ANUX k2yJHx0j9wCZgNIycwt79pfU5OWQujmXnMn1GodWxFx5PojrvBxctR2KL+zJ3XEem2ZX zmvJeSNEKltUcjpGuICt3RrMdLPkjNBmxIADqjJTBtEDywnDSLB2BtRU22FrnpGPoqwM fwjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=AR3GTA8FQkv4qBqbsOcwbjnr/UVp8r9aaJ1LKYNCXM0=; b=u+R/DC6X7mBwWsEPuQx6SaH63p+Jy4x33AMyOf91pPsOL5hbVEsO5cIIS6aY3EEKCU l+QLJojqmAIshJhORS9Xm+rtA2I3HUEZCGKoHd+MDD1Fb17bzrsQ24z0EyFpV+2zeUTk EZm3x7xIbmzgSWcy4SaBEsRyE7Tqc2FzteRvGyHQ5g6yUoRrDP2f5+U2zgZSIUSAiFz7 WYZv8XJ/BpU2ep/7W9WbgPqI7EMbDrbeM/wqMLryhC3rJuVONmWaqMQ22zi9a+lL9+Z7 7fjhgxtotfEvwYrlimxFokctY131va1MnBCsQ/DmT0h0pkVFOCZJHvWrQsT6mu9vgwVe 83AA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si17151815ejx.661.2021.05.25.20.13.41; Tue, 25 May 2021 20:14:05 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230367AbhEZDNv (ORCPT + 99 others); Tue, 25 May 2021 23:13:51 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:43735 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230075AbhEZDNu (ORCPT ); Tue, 25 May 2021 23:13:50 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R741e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0Ua7zx7d_1621998736; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Ua7zx7d_1621998736) by smtp.aliyun-inc.com(127.0.0.1); Wed, 26 May 2021 11:12:18 +0800 From: Yang Li To: mst@redhat.com Cc: jasowang@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH] virtio_ring: Fix kernel-doc Date: Wed, 26 May 2021 11:12:11 +0800 Message-Id: <1621998731-17445-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix function name in virtio_ring.c kernel-doc comment to remove a warning found by clang_w1. drivers/virtio/virtio_ring.c:1903: warning: expecting prototype for virtqueue_get_buf(). Prototype was for virtqueue_get_buf_ctx() instead Reported-by: Abaci Robot Fixes: 'commit e593bf975156 ("virtio_ring: put split ring fields in a sub struct")' Signed-off-by: Yang Li --- drivers/virtio/virtio_ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 71e16b5..095a9a3 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -1875,7 +1875,7 @@ bool virtqueue_kick(struct virtqueue *vq) EXPORT_SYMBOL_GPL(virtqueue_kick); /** - * virtqueue_get_buf - get the next used buffer + * virtqueue_get_buf_ctx - get the next used buffer * @_vq: the struct virtqueue we're talking about. * @len: the length written into the buffer * @ctx: extra context for the token -- 1.8.3.1