From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9601CC433FE for ; Fri, 5 Nov 2021 08:32:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76AAC60232 for ; Fri, 5 Nov 2021 08:32:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232735AbhKEIfM (ORCPT ); Fri, 5 Nov 2021 04:35:12 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:38699 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbhKEIfL (ORCPT ); Fri, 5 Nov 2021 04:35:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636101151; 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=HUz7Uqfcr6vjpPuFN/6PJkrmCB4tUkJaU03BFN22CaE=; b=OX6aZtWYtaBTA4SK0N5wHWadhRGoiZ5IX+U7tCen1XoPTDpcEL9id+NBwqjyA0KRj2JdCl EfE+WtLUUa/9Oo0JxZy6kK1i5Lcgzsn8aGpoaVG26AMl7c7ZyWz9le1iq1RpMlbtNs9Gr/ E3OdyCmh3N9/WhmpkzatsM8+iftnQfQ= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-498-RcGLmf6NO-6UzHAsw74L-A-1; Fri, 05 Nov 2021 04:32:30 -0400 X-MC-Unique: RcGLmf6NO-6UzHAsw74L-A-1 Received: by mail-ed1-f72.google.com with SMTP id t20-20020a056402525400b003e2ad6b5ee7so8208313edd.8 for ; Fri, 05 Nov 2021 01:32:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=HUz7Uqfcr6vjpPuFN/6PJkrmCB4tUkJaU03BFN22CaE=; b=EXgXrFFBtSgqzABJbpFsmp6CE8RNPnW0BgsD/KqBaoqHo8FqK46kkhJoYzeE8MxZZW 3crfmNFRm+LKJ0mla7mrUQSba3VnyS74mYcjYmuUbZMFckqYFD7H+o7VZaQY8X3zTS2v bVEiKsQjamLxfjw75KZ3b3byHNS1oNry87sSJGg17WQnb8zkKfGQ5hOtvE7XucvqSRI3 NSsYvBOQb7Dtnut3sYYyvTyuO+lu85D9asx7AxJBbne1XEXu087Ok+fHfL7T+pw2ctou R9Pk/rnds1Wl/AOAda0Li+g5BIOXxouRcB5ttW5DDUTOtzYIfmhkXmOLR8CFgTQ4eAp2 5SKQ== X-Gm-Message-State: AOAM532JG18UA0CWg6bWOx81wX0QPUUyvROc/AHX+iKr8+Qp6ZfT6MYl 1Yk9KCER9leGblRmlBo3Dod5z0ivsiM/4jqueoE00d9M8n0rGrO+5RG4lRS/47TbU2wDi3jtQc0 vASo5As5pBaE5pJjDkGNL1BFM X-Received: by 2002:aa7:c395:: with SMTP id k21mr59826679edq.175.1636101149129; Fri, 05 Nov 2021 01:32:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwG6LlOvWNxHc/km/eCAgFIUf26b78WCGDOP8wC0KUlo3tODOpjH30Ptj/aqd85VBUALJi06g== X-Received: by 2002:aa7:c395:: with SMTP id k21mr59826670edq.175.1636101149017; Fri, 05 Nov 2021 01:32:29 -0700 (PDT) Received: from steredhat (host-87-10-72-39.retail.telecomitalia.it. [87.10.72.39]) by smtp.gmail.com with ESMTPSA id t15sm3588190ejx.75.2021.11.05.01.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 01:32:27 -0700 (PDT) Date: Fri, 5 Nov 2021 09:32:24 +0100 From: Stefano Garzarella To: Eugenio =?utf-8?B?UMOpcmV6?= Cc: linux-kernel@vger.kernel.org, "Michael S. Tsirkin" , Jason Wang , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Subject: Re: [PATCH] vdpa: Mark vdpa_config_ops.get_vq_notification as optional Message-ID: <20211105083224.5tkhslrswshbynnu@steredhat> References: <20211104195248.2088904-1-eperezma@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211104195248.2088904-1-eperezma@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 04, 2021 at 08:52:48PM +0100, Eugenio Pérez wrote: >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 > Reviewed-by: Stefano Garzarella