Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2039068pxb; Thu, 4 Nov 2021 12:57:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTvNtq2fTbpNnytGwAd8RmV7K19ECsksAZSDUNPqeBGTlGtVF03F9bMsVZOM6fUBitSXRk X-Received: by 2002:a17:906:b01:: with SMTP id u1mr12741043ejg.504.1636055821210; Thu, 04 Nov 2021 12:57:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636055821; cv=none; d=google.com; s=arc-20160816; b=Q++21SL7S6JZiLbL1a0XbcRlEU+1D0REiCssRlZaOx6laPd4K9H+kgXHXhtHfGaub3 2dL9hLkr/i37JqDs73S6ZCm3T0wTAro9gMf/Ab/Zm+kON5Si4nUNvYsR/jSUEp+8JNbl dCr1hqLTdLTWpt67IXbrGnVdXClNmmJ4+2KXtNfsR3jCBkUmLLbN5qju3VnFUtX+4iWT JPPgARGyh5bDA4YtXZ7N0EPiF/00etsiJdX+SskGrMvJyI8bBkOmoSGU2KAW1E4JzCSr b1Yem/I2Y43ferepM797aaMN3PcoZPKkPe9a3ULr2EZ8mVQjPe39yM5yZnxzNA8ctzVp YDzg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=pZ4zh7JFN0bP24GdpvWa6P0ZJ4uX4rr4lhECDZnnt44=; b=gLjVqj4Qyu+xo9+WjiKfcVtZrJp3QJi+UjDOXIEcbx8miDVK31ydHGoqY/ybBKdBQF AG9w7xY++OWZiWUTbb7EgLTvENNyWfUUQKzhaDETQcOsLDhm7p5FAI9bWFZuwHn044n6 +NTLAaZzF71yF3RBERm3A2W7qv1gntx6dOHRedgwLZSVbD6nP5t/R9yVqDcx6JX43Wo+ OCgb4ozwAPlIYATJ+yQcSPgja9t2AZ0SGKVgO03a/I2LfaJD2IaPCExpnDVoqaxqrBNV ePV4ZTIMrUpmuprcVH5ds4gLqqxNgv3EVkSx7usC3VT/Wd8fsETTFshKRxCciucLzjKV yNnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FRtSGZyO; 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 mp5si12245725ejc.271.2021.11.04.12.56.37; Thu, 04 Nov 2021 12:57:01 -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=FRtSGZyO; 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 S231867AbhKDT4y (ORCPT + 99 others); Thu, 4 Nov 2021 15:56:54 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:28137 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231593AbhKDT4v (ORCPT ); Thu, 4 Nov 2021 15:56:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636055651; 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; bh=pZ4zh7JFN0bP24GdpvWa6P0ZJ4uX4rr4lhECDZnnt44=; b=FRtSGZyOTvZnBnCJ20MytONuYRdREIWeMlWraEqHGE9xYeDJR2GTuZfmacWwGYfuQtjHcC 0OfTDACl7z6hl61/h0ylzGfBBXoim6BJfsfI+h3nNckDkjJiQlDK4Me6NBmQ7gylAnaOhG SGNcSF+haajlm3DgBr6BRbqahhO+Ruk= 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-4-j_EoAV6yPfyGbwLUsBK6ow-1; Thu, 04 Nov 2021 15:53:04 -0400 X-MC-Unique: j_EoAV6yPfyGbwLUsBK6ow-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1E1BC80430D; Thu, 4 Nov 2021 19:53:03 +0000 (UTC) Received: from eperezma.remote.csb (unknown [10.39.194.185]) by smtp.corp.redhat.com (Postfix) with ESMTP id 57FDB60BF1; Thu, 4 Nov 2021 19:52:52 +0000 (UTC) From: =?UTF-8?q?Eugenio=20P=C3=A9rez?= To: linux-kernel@vger.kernel.org Cc: "Michael S. Tsirkin" , Jason Wang , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Subject: [PATCH] vdpa: Mark vdpa_config_ops.get_vq_notification as optional Date: Thu, 4 Nov 2021 20:52:48 +0100 Message-Id: <20211104195248.2088904-1-eperezma@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since vhost_vdpa_mmap checks for its existence before calling it. Signed-off-by: Eugenio PĂ©rez --- include/linux/vdpa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h index c3011ccda430..0bdc7f785394 100644 --- a/include/linux/vdpa.h +++ b/include/linux/vdpa.h @@ -155,7 +155,7 @@ struct vdpa_map_file { * @vdev: vdpa device * @idx: virtqueue index * @state: pointer to returned state (last_avail_idx) - * @get_vq_notification: Get the notification area for a virtqueue + * @get_vq_notification: Get the notification area for a virtqueue (optional) * @vdev: vdpa device * @idx: virtqueue index * Returns the notifcation area -- 2.27.0