Received: by 10.192.165.148 with SMTP id m20csp2611117imm; Sun, 6 May 2018 20:03:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrsoMzOWhRBLs7O3SU9NeybUWc7CUi0VEg2JqmwUOpI0yga4WSJUn/p+Up8Fo0+AETQ+/QD X-Received: by 2002:a17:902:d687:: with SMTP id v7-v6mr36266892ply.201.1525662184642; Sun, 06 May 2018 20:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525662184; cv=none; d=google.com; s=arc-20160816; b=t5+k0j99GKZUGqkwP2QWgk2e/XXbn+dtIdJAshOJHhaXfpqQL2vi2zW/eR3sEGwR2P BjIfD697JqWlLBy88rK9NyziAiW7rC6hBnHWEz9z53xTmwrFCf8vygCnn9mKvOKcHspj W/CdkQjEE7Y73Vx9ZHQNoX3mhTzpJShBq8VZm2kepHgyCmgyS8gmdCZdu6IWe08b6WAW hs7kn5gYqgH0xmFdb3jMUQVJ7DKkIxhPKPJ1zelTjhgSRsMQuTjNryjmOUYZHk9V0XCu DDbWfzjYA5gwp6374dNgffKpRUn16cZ0LOW2+manEbb0qADY5AQMVYcn7HzDjlE9C9MM hRzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:date:message-id:subject:from:cc:to :arc-authentication-results; bh=37hh4ENNpAaa4VrEQq3v1twRDL0EZDuPKEWk8e1g4JU=; b=n78D7cGDwUYZG2EN/41NRh6Rj94WVprTMhsIn9ov50xJwgCpgzMe+iLTxQOxQfsSpC sMOWWTyi0cFedO4pGhBKh007dfjHeO7o0DtmIj4dO+2Qv/+31qPVUtlPjfnxDuSeuVqE N+iztsAwTCFCZQYhhBRlVWDwoZJt1e4YyTY7gRtlLDVS2n/uAtoSEtO8uQQw9ZMBuTEV aLKvVQUVTjHEftjgue5WHRluVeYWuaLgvek7cWyQLVjvm+4xVfjhcNMV6TolAibFCAte dpZi7Fejfeb1TeV2JVHI+WsBuVv7bcNWu7OGA4ZpHdbOdfxVIGx+2gLyC91+l+h3tjb5 P6SQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1-v6si20936039plc.403.2018.05.06.20.02.48; Sun, 06 May 2018 20:03:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751924AbeEGDC2 (ORCPT + 99 others); Sun, 6 May 2018 23:02:28 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:7230 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751852AbeEGDCZ (ORCPT ); Sun, 6 May 2018 23:02:25 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 27B83E1FD5493; Mon, 7 May 2018 11:02:12 +0800 (CST) Received: from [127.0.0.1] (10.63.195.168) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.361.1; Mon, 7 May 2018 11:02:12 +0800 To: , CC: , , "linux-kernel@vger.kernel.org" From: "dongbo (E)" Subject: [PATCH] vfio: fix documentation Message-ID: Date: Mon, 7 May 2018 11:02:10 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.63.195.168] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dong Bo Update vfio_add_group_dev description to match the current API. Signed-off-by: Dong Bo --- Documentation/vfio.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/vfio.txt b/Documentation/vfio.txt index ef6a511..f1a4d3c 100644 --- a/Documentation/vfio.txt +++ b/Documentation/vfio.txt @@ -252,15 +252,14 @@ into VFIO core. When devices are bound and unbound to the driver, the driver should call vfio_add_group_dev() and vfio_del_group_dev() respectively:: - extern int vfio_add_group_dev(struct iommu_group *iommu_group, - struct device *dev, + extern int vfio_add_group_dev(struct device *dev, const struct vfio_device_ops *ops, void *device_data); extern void *vfio_del_group_dev(struct device *dev); vfio_add_group_dev() indicates to the core to begin tracking the -specified iommu_group and register the specified dev as owned by +iommu_group of the specified dev and register the dev as owned by a VFIO bus driver. The driver provides an ops structure for callbacks similar to a file operations structure:: -- 1.9.1 .