Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5682585pxu; Thu, 22 Oct 2020 08:29:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybGmW6aFYyg6eFYgyb8uVeVdSgh4YVG+Hx+gmhMjv3s//vgC6yPhpOpda4dO76mQqaQGJP X-Received: by 2002:a17:906:3b02:: with SMTP id g2mr2921067ejf.512.1603380591844; Thu, 22 Oct 2020 08:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603380591; cv=none; d=google.com; s=arc-20160816; b=Q39gtOiMBwnNlWH1kVLFb5SedXxKVCc0gKwfX+mdTVjeE46FdybkZE7IIb4uWbRzwy RfD4eY6//6IUjRTGUpFpXfGxc7/CAIsxP82FzPFY05fAIQAxBpXv7OieRXuGoYTVtj7t nh84oupuUsh6vplNTJaCia6u+aRWtzzOWyujtSRV0GlnX8CiUQk2A1DR90X300l+Pu3B gSWA7KQrMoPK60/nZFK5/2AUfNmdq3AC0uOrhUir5pKTHkHC2+0bdq0wsdJ3Hm3APXtK JD+W2/KK4ezxD5GDTHteftvBu5njLHAXRVvB976f/zIOXsHeU8t1faUxBWQCMHoDRNpc O3Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DvfRuzq2t0P16AvKn55ain8yuYvafMCh1JlHhrSFzYk=; b=d+8FDVZ75p7kYZS7TT6tELnzG/SHZUPRiZNot26c0+YtFcJX35NKUuGOuVvkCxr4q6 qN9rXbdlHI3QqlxTDAKLt6KrFl/UTHOz5lVwEUix/zMXbCc/DAI/ekC1LTNZ7SxbRBHK ctVmNpYcV40KOSDWzWj7doBRiMoKqMNaOulKHpexQnwBQvFdN++ib++PhF4xd3HFT+Hq ERXfcCrGugD+UF9Olkq+XAnBDv4mC+KFijv8pUsk0Y/Wtv6GsZsFWb3NJLMNAPYPxFBX o/x7Ccs03HASYZNbgRibcblnfBGFOoRp94AM1wfX6Tq0ehMBMQuAx+QDGf4UyScT3Sof 34ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KJ8HFOnH; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pk8si1186081ejb.729.2020.10.22.08.29.28; Thu, 22 Oct 2020 08:29:51 -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=@chromium.org header.s=google header.b=KJ8HFOnH; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2508483AbgJVHZT (ORCPT + 99 others); Thu, 22 Oct 2020 03:25:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2506371AbgJVHZT (ORCPT ); Thu, 22 Oct 2020 03:25:19 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E223C0613CE for ; Thu, 22 Oct 2020 00:25:19 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id e6so386653qtw.10 for ; Thu, 22 Oct 2020 00:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DvfRuzq2t0P16AvKn55ain8yuYvafMCh1JlHhrSFzYk=; b=KJ8HFOnHbfrCizxBWaNMlvuGNfJdHOD3gwbsZ+VUMNGkVi+6ohc/inYKvMISepAVre S4UljXttqHyQc1ZoGQbZG7xEEN1zGhoLCb99sHoabsaNzi84Ra0j6dC1FtUNWrx0iHR2 n4taQ+Wyh668FwuSnvpFoUJFH3XdeHTo0RJCA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DvfRuzq2t0P16AvKn55ain8yuYvafMCh1JlHhrSFzYk=; b=OoPIWTRLKMjbKwberG2EuWxswCV3XMz8mZKJJWeCB75xlv0Ta8emPgOsP/DKPQ0fAT y4ZYMEVVcoNgDBQsgKRTvPHaBOQOodLc3pnH0KDEc8uhfSQqK+96WLYuWw5CdUCMP5Ws jtyMdZZCVKcDf/cHtbel/XaoZTz9LZtcDZPbaOYHVUi57yy7F5Bm17ltWNgdckZURFkv txwoHW/z3PLW1tk9UjrWhEImRd1cG2abnB+0t1n0fNv58AV6WGDS9cZrnDE6iv5K1NZA FnK97UKFyo87aGVBMdHXdnc+aVeSu48UQasErULZDh8YLq78+8fnsDsqW8KR82lx53et XzKQ== X-Gm-Message-State: AOAM532xXwDMkq+ThhirAvFga/599cv8Xn0S0gT4uuQ58yMMRkS+gMFh pizIfMCaNs2uoQ1Psux5z1J6ZdW18YhDsZdmhKyigQ== X-Received: by 2002:aed:22c7:: with SMTP id q7mr728888qtc.141.1603351518703; Thu, 22 Oct 2020 00:25:18 -0700 (PDT) MIME-Version: 1.0 References: <20201022061554.3418060-1-pmalani@chromium.org> <20201022065719.GA1440360@kroah.com> <20201022071753.GA1470296@kroah.com> In-Reply-To: <20201022071753.GA1470296@kroah.com> From: Prashant Malani Date: Thu, 22 Oct 2020 00:25:07 -0700 Message-ID: Subject: Re: [PATCH v2] usb: typec: Expose Product Type VDOs via sysfs To: Greg KH Cc: Linux Kernel Mailing List , "open list:USB NETWORKING DRIVERS" , Benson Leung , Heikki Krogerus Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On Thu, Oct 22, 2020 at 12:17 AM Greg KH wrote: > > > > > +What: /sys/class/typec/-partner/identity/product_type_vdo > > > > +Date: October 2020 > > > > +Contact: Prashant Malani > > > > +Description: > > > > + Product Type VDOs part of Discover Identity command result. 3 values > > > > + are displayed (for the 3 possible Product Type VDOs), one per line. > > > > > > sysfs is "one value per file", not "one value per line". This is not > > > ok. > > > > I see. Would listing these out as three separate vdos (i.e vdo0, vdo1, > > vdo2) be better? > > Given that your current implementation is not acceptable, something has > to change :) Got it. I'd like to see if Heikki has any suggestions on naming these entries better. Thanks again and best regards, -Prashant > > thanks, > > greg k-h