Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5424151pxu; Thu, 22 Oct 2020 01:44:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9YSC3Wf8yAdoG5ZtsMA/yx7SddQCfoLKaj3y8G+pHdVfRm3F+34kPRv1Hr5JGIePZgR+h X-Received: by 2002:a17:906:ad8:: with SMTP id z24mr1199549ejf.222.1603356283707; Thu, 22 Oct 2020 01:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603356283; cv=none; d=google.com; s=arc-20160816; b=NzsVYav2piutV8F8A2FYkvQq7JI3LeU8z4FPmdOLh0m7b5GzSlCnAvh4ee6U9rZZr5 iLt7s8fu3hiCzy6xeeF/gSzatNeznaBVBsvKi4Ge3tkEFWX8d3wFdEuBhoHp83vwnSEq MIxM650JnnaxneEHhUxgGgqr4a+EURtwrItbsjLhJgLKjc/dMSekLBYNzzlYKvMdGgzf fmpTw9ZbLKWDD7JM7aTbpKRO1QtPVHlJNhEcILwZTCd48UrapyiDUHtrtGFL2p1uoIJO 6De7wTc1UPxV0U67W5Mgl+3a04VUguRNplbayyFTD3/CcMm1iwEKpq9eUpMefYxW8Nw8 JjtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YuFKdFgEeub/p4JGDZ/H3YA+2USlg9rh50mH59MOIKk=; b=OoBYwxAv98zxWri/DglVSqvjL41eU4Cmgs2B3n397srHEnpJSryV/2kUiSYTM9APpw BfU+SnpkrKZefu3xltfCP0wknV2suabBr4fBF0pAchn8TKE26n/UXs9vbhufVZ7DCDql I7ddIyiVEslisQRGjfOqNulGfXCvxlbAy0D3gX/inR/qaLYanbbARE4YB63Py6eE+Nzi 6BNQ9LnqvL+kNs0uOTnF6xVRfqlk4QtfrsHYUiYu8P6z8NsTspRXskrHmIdLfdU4z58B +Qkk6EEZfM+SQcOjHOCgQbW9vFUqtEWPUlRekAJ1ddyBr5sU1mgHTMRfzjrrXwlADQta JEFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eIz+70xN; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si446241ejw.561.2020.10.22.01.44.21; Thu, 22 Oct 2020 01:44:43 -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=@kernel.org header.s=default header.b=eIz+70xN; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2508367AbgJVHRT (ORCPT + 99 others); Thu, 22 Oct 2020 03:17:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:36274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2508360AbgJVHRR (ORCPT ); Thu, 22 Oct 2020 03:17:17 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4CE84222E9; Thu, 22 Oct 2020 07:17:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603351037; bh=0uMgQw2LPxfnHIBnVz7lKSL+gAoez7EziK1x5BoBC2E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eIz+70xNJT0q0I78fc15yUpeXGHDyFknyRq3BoVSk4HgtkQDpUligIwGJi/tIHUXt ExX/ahCjYOym4iqjG5xqzJfluXxQWOpNHp0FHOkMFF3QhkIplGw0gNL90I39GVeEwu LXbhpbuBMgGxBXw2gK6aYQl8DbzViJ8hvUU7zJmY= Date: Thu, 22 Oct 2020 09:17:53 +0200 From: Greg KH To: Prashant Malani Cc: Linux Kernel Mailing List , "open list:USB NETWORKING DRIVERS" , Benson Leung , Heikki Krogerus Subject: Re: [PATCH v2] usb: typec: Expose Product Type VDOs via sysfs Message-ID: <20201022071753.GA1470296@kroah.com> References: <20201022061554.3418060-1-pmalani@chromium.org> <20201022065719.GA1440360@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 22, 2020 at 12:13:54AM -0700, Prashant Malani wrote: > Thanks for reviewing the patch, Greg. > > On Wed, Oct 21, 2020 at 11:56 PM Greg KH wrote: > > > > On Wed, Oct 21, 2020 at 11:15:54PM -0700, Prashant Malani wrote: > > > > > > diff --git a/Documentation/ABI/testing/sysfs-class-typec b/Documentation/ABI/testing/sysfs-class-typec > > > index b834671522d6..16440a236b66 100644 > > > --- a/Documentation/ABI/testing/sysfs-class-typec > > > +++ b/Documentation/ABI/testing/sysfs-class-typec > > > @@ -170,6 +170,14 @@ Description: > > > will show 0 until Discover Identity command result becomes > > > available. The value can be polled. > > > > > > +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 :) thanks, greg k-h