Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5206328ybh; Wed, 7 Aug 2019 02:29:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeaXEazJMD8PaCB4bIW1sMLcQwUC0MCZQMGjHoNKXzZp5VZwwZ1UJhMFt5I0WCdKvwneX5 X-Received: by 2002:a17:90a:20a2:: with SMTP id f31mr7363391pjg.90.1565170174889; Wed, 07 Aug 2019 02:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565170174; cv=none; d=google.com; s=arc-20160816; b=js2qBYvWbBntDTo5vuXSt8YJeExKUxQdgr06ntkYQPaRh+HrphM33irnK9lXjyka6T LAQjF5FdBH9DhQ/qG4QELoDvesFSyD4DgDInxilr3a4dShEWiR51JfTmX7/4INPJ8tuC InBNF7m9y6EiyngPWC/rukZXT5IvMowP9jfcTCHb5VJp9A8ut+PnI33oxMATOYXM4+xo jwkNcLyhkOIMiq4rdUPJjj0M0XpqBfyQxJNSvPqm5Uoi3lB6xOjpB64thxRm0G5zJRG5 hjO33iH3z6jb1ZHaUW1GKlKLv1upyeHa+S5kgM68FoAsl3rvePPWcZM/YGa8WOfZvQ+/ HysA== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=KVxc7AlnDHRdS2yu/JpCK6SbT23GXfi6Y0hZziASLjU=; b=qggCBSt+muLahYbj1ZWJzUssEcRKViHxzAunlwUeP2OrRCGBZUOPGVYav7Jv4lILGt AFyvHIof8rU51+cWmRhIEKsLvCyjuiEymFK2hBQ99vP+qghgfPjsKxhvXSpXzjReUXBQ jZN1BaJ0DRPQMImEEc1y2n1npm3frP4dq8OXyGkELFgCphi2+ufOI9is7G+oKrSdhXI2 OQPdzP67KgpnylJPZcZYD9O0Um3DH2I2Vh343Wa9Pbrh4paTrUDEDUig+j8p+IH1a89d cagL05KcNOGkEdFkud++eQ4Hsuyxw576DJVR2b4lHoB/gxWkOhySNGhRmhTer8L8D/hh u4ag== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si50860358pgi.191.2019.08.07.02.29.19; Wed, 07 Aug 2019 02:29:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387507AbfHGJ2I (ORCPT + 99 others); Wed, 7 Aug 2019 05:28:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53948 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726461AbfHGJ2H (ORCPT ); Wed, 7 Aug 2019 05:28:07 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AF3B72F366E; Wed, 7 Aug 2019 09:28:07 +0000 (UTC) Received: from gondolin (ovpn-117-166.ams2.redhat.com [10.36.117.166]) by smtp.corp.redhat.com (Postfix) with ESMTP id EDD391001284; Wed, 7 Aug 2019 09:28:03 +0000 (UTC) Date: Wed, 7 Aug 2019 11:28:01 +0200 From: Cornelia Huck To: Parav Pandit Cc: kvm@vger.kernel.org, wankhede@nvidia.com, linux-kernel@vger.kernel.org, alex.williamson@redhat.com, cjia@nvidia.com Subject: Re: [PATCH v1 2/2] vfio/mdev: Removed unused and redundant API for mdev UUID Message-ID: <20190807112801.6b2ceb36.cohuck@redhat.com> In-Reply-To: <20190806141826.52712-3-parav@mellanox.com> References: <20190802065905.45239-1-parav@mellanox.com> <20190806141826.52712-1-parav@mellanox.com> <20190806141826.52712-3-parav@mellanox.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 07 Aug 2019 09:28:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Aug 2019 09:18:26 -0500 Parav Pandit wrote: > There is no single production driver who is interested in mdev device > uuid. Currently UUID is mainly used to derive a device name. > Additionally mdev device name is already available using core kernel > API dev_name(). Well, the mdev code actually uses the uuid to check for duplicates before registration with the driver core would fail... I'd just drop the two sentences talking about the device name, IMHO they don't really add useful information; but I'll leave that decision to the maintainers. > > Hence removed unused exported symbol. > > Signed-off-by: Parav Pandit > --- > Changelog: > v0->v1: > - Updated commit log to address comments from Cornelia > --- > drivers/vfio/mdev/mdev_core.c | 6 ------ > include/linux/mdev.h | 1 - > 2 files changed, 7 deletions(-) Reviewed-by: Cornelia Huck