Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp356557pxb; Wed, 3 Feb 2021 07:11:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFup1k9JVUWUO+BQ8kgyuUM55FKxkXP/X4Tx7wJmJ0nUQgz2+g/pXrMYCBZqhkUD+LbkgQ X-Received: by 2002:a50:8b66:: with SMTP id l93mr3336303edl.384.1612365106498; Wed, 03 Feb 2021 07:11:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612365106; cv=none; d=google.com; s=arc-20160816; b=Zijiku9DpHV4u8ubajpCJsAf5isbBzHgkvzow0Vrg2wCQQBYGv1j+HaSX7H2BbOmRX cfLQVvuRzjHal6wqnqHSCOHIv/yzjHy+/GUhyNcDTPPCsOJX0+JU2fgIA5I2sXEM2H0v jb3oCmepYuDmxeLbQmqsg0FVIT5kUvnqgRIGS6kO8AwmCOtodvMT4HO743EN6rerDpL4 hcwThJfgc2pCbZqq5OYlyqH9Xo5C1oP4RM13/ciYaA4zAUAKLkaGirD1PMWmtUmyz/uJ WGPUiupS76r+RDoOUPjacqg/WFpxYORAI0flCKgJCWcGRV1PyyIaubACbWHFKd+vuR+z MgAw== 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=wN43pe4feezSaqHJyG+zmvVH4h4QhxzBSbK5Qgb6bpA=; b=khPi0UHqlGXJhiza0UQWD8jhSanNXYFldvvWERy3fMFTRcrttd6L8nEwyFgSIiRCAD OYMWSF5WJqoC0ljPzSUT8DLeMtL2hMuEWc6+OUEtComOYrEnpaqZ5w9bGHb9Z/HCXs+O A2zeyf97xGKyQKlqg4UObbA4nTe0eYzvQceLR7gy+FbXX67G+X4aCs5CNWYgLvkj42AK T199YpOnJ/qHCfBjHqNkYhhLzoeDNvVaYPb2cgkLGjCqdFXMd/PfVWcmX/q4khRpZZce ESBqsaf0sk6R8POcdnnrj5hH0naNGekOBHH2DRDauM7P8ZNilnRFR/63R3sA/O5c9fMp nx/A== 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 fi28si451962ejb.379.2021.02.03.07.11.09; Wed, 03 Feb 2021 07:11:46 -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 S233739AbhBCPJz (ORCPT + 99 others); Wed, 3 Feb 2021 10:09:55 -0500 Received: from mga14.intel.com ([192.55.52.115]:51753 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233796AbhBCPGN (ORCPT ); Wed, 3 Feb 2021 10:06:13 -0500 IronPort-SDR: tT8lCRqIuYgiKo8kFSE9nHboPrWAm7Gkh1rms/cvbzq8VBg7+4CE/xArFh6lNMLAGlsWZg1fnz DU5+adpm5vBA== X-IronPort-AV: E=McAfee;i="6000,8403,9884"; a="180281768" X-IronPort-AV: E=Sophos;i="5.79,398,1602572400"; d="scan'208";a="180281768" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2021 07:04:27 -0800 IronPort-SDR: 2QQFBWoqAbTNQelf2fckyQ/zE30yj7Fjb2BNNzFWo1C3p5aO2QuMDBM+ZLCk582IxGv4rTLi+2 ybQHsFHreVHg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,398,1602572400"; d="scan'208";a="480378544" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 03 Feb 2021 07:04:23 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Wed, 03 Feb 2021 17:04:19 +0200 Date: Wed, 3 Feb 2021 17:04:19 +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: <20210203150419.GJ1687065@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> <20210203150121.GI1687065@kuha.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210203150121.GI1687065@kuha.fi.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 03, 2021 at 05:01:26PM +0200, Heikki Krogerus wrote: > 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) s/I believe Guenter too/I thought you 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. -- heikki