Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp352452pxb; Wed, 3 Feb 2021 07:07:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3ToyTe0LmS5dnJobOOAC2fM1PrqQQruP9lTjCeCAuQFD0vfZr0bg73bNmeDQFS7/nn6dt X-Received: by 2002:a17:906:80b:: with SMTP id e11mr3582239ejd.269.1612364748185; Wed, 03 Feb 2021 07:05:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612364748; cv=none; d=google.com; s=arc-20160816; b=am3GhO7XPQDwH3XVufDTgADkOBZDcdxVR6WeoZETfEYSZcf4jvuOBn5a2X5xSSdJ2K MGPOlNjWg98R521ToJeK+uHx+kpn+tOhhZFpW95ng7V6+Go7VS8KyHxvA6610hN6NEqG 7DRN/493teOYkE/OpznRyqIiYksFBF586eFBG8mDd56ii69K4rXV+vVPj4QHSDeWvQNu rROV1rsqig81DKRJUpCVNOxcdt/6/tp/vMsiKAzzsR0oL3SRt10hyOFRUJZquQga0F/i bVmxsWxHDJ2JVvxZ4vemY4ZshcMjO5TbTflhx+SZHf9uZKXZ5/Adsh7Hk10B/GI7dgnf R1Dw== 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:ironport-sdr :ironport-sdr; bh=T8ZF/n899TxPLMD17+Nmr2h88UNrHpa/tzrzG+Nw3eA=; b=KqJXNPYgSdhGiZXt/y70MIvbWf18vp5KKDy/qAq5kOP7kTMYiBDNwwI0hhPD2rWC6y PV4dDKLvna3Q4HgWh8leHK5+yF5aTTk07R01bV4hvwT7pCnb/Za4igQOEpT7FbRTmjvr Tm7YWmaPLm7Go6z1Yq1A8f8r9hO5TYk2B9t/Wa3Eg2JvI5qXcjTjA7Zv1XULkNd6fhqy a27XwQwz2cpzDZYjEIAeSkI7LWqfoVk8karZwl1sCmDtnhTddEBw99+gYmpnk6wecobR xWSXLoG/51ztKCJufPnGIgQK2HDKOuwEYcS5f7Ot80PW6nQCdziaSKFmNrkZZ0fSkuq3 bOww== ARC-Authentication-Results: i=1; mx.google.com; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si1259820edw.319.2021.02.03.07.05.17; Wed, 03 Feb 2021 07:05:48 -0800 (PST) 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; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233622AbhBCPDZ (ORCPT + 99 others); Wed, 3 Feb 2021 10:03:25 -0500 Received: from mga05.intel.com ([192.55.52.43]:27198 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233185AbhBCPDO (ORCPT ); Wed, 3 Feb 2021 10:03:14 -0500 IronPort-SDR: xmjehtclWrZdePEoCrgP3L6vpAWXdy8gGAzNUTTMf+iCx1YJotDAD4QLGrScw1QxjUiEu8UCMi fftYC/7R0oqw== X-IronPort-AV: E=McAfee;i="6000,8403,9884"; a="265885135" X-IronPort-AV: E=Sophos;i="5.79,398,1602572400"; d="scan'208";a="265885135" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2021 07:01:26 -0800 IronPort-SDR: U3OqqYgN/+6KwvpAI4cQ7LwNktWJ2QKpO2e4cQlX0+S650abr2HF9vUKLur5WFoTRNDKP1HhIU t8CrgqOBb5Wg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,398,1602572400"; d="scan'208";a="480376187" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 03 Feb 2021 07:01:22 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Wed, 03 Feb 2021 17:01:21 +0200 Date: Wed, 3 Feb 2021 17:01:21 +0200 From: Heikki Krogerus To: Guenter Roeck Cc: Kyle Tso , gregkh@linuxfoundation.org, hdegoede@redhat.com, robh+dt@kernel.org, badhri@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v5 1/8] usb: typec: Manage SVDM version Message-ID: <20210203150121.GI1687065@kuha.fi.intel.com> References: <20210202161733.932215-1-kyletso@google.com> <20210202161733.932215-2-kyletso@google.com> <20210203124724.GD1687065@kuha.fi.intel.com> <20210203145143.GA58095@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210203145143.GA58095@roeck-us.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 03, 2021 at 06:51:43AM -0800, Guenter Roeck wrote: > Thinking about it, would it make make sense to define the functions as > static inline ? I (and I believe Guenter too) want to keep these structures protected for now. If the API starts to get too bloated, then I guess I have to reconsider that. But I don't think we are there yet. I have been thinking about moving the USB PD negotiation details to a separate structure that could be more accessible for everybody. That should allow me continue to protect my precious structures. But I have not yet put much though into that. thanks, -- heikki