Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp278592ybv; Thu, 6 Feb 2020 22:53:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwAuUyNnBVWO8viFfSeQeucViD+DYnrPYrGMJlwKRibgkUEPSs7mBbjryamIbSSF7CY/m7Y X-Received: by 2002:a9d:7a56:: with SMTP id z22mr1466853otm.201.1581058411649; Thu, 06 Feb 2020 22:53:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581058411; cv=none; d=google.com; s=arc-20160816; b=BN+oRz1PHZnkki8DJeLWlGWBscxl5bXdwJHZywfn+l+sdfdX/N+wfN3UGHVwXvGI/J qxWbuKisX9ZI2G2mQAd8+LRf/aaMi0Z2HpYwx/S+h2HqtbwKsLIsaJIYDqxziHQo7FJJ e98HL7lAUTLZgykfnz86l0w0pgCDoQxDT/h3mBKQe05W0ei6P0qUWcxrlytx/RMYMImZ dIBw2c3ih4pAGZYUPO+xuzPQsfliLHRGsA6uNL09ekm9iIDgEtF9R7s4+cdJx7fciFOS otyA1uSm7nENqHop5irKc8eb8OXRvRhX6qmIN+Jy8Kna1E1DclGHxhm765XP6uStUfm1 gdIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=q0TDumucPzPlIUYzIxQd+RsFWYVlY+EDTZBW4yYSa9E=; b=0gh7HbdmZooYzZSc6S1DRTT7o9z0aC8xJXTDwOV6/E3gT60HwL5w7pMGLaDgGb7VGq hceZPAqD1OwunfsFqlkYX3da8XdWb6k+fqd+kKr4XjuQ1nx28XNMbVcsz1pVm+e6lyLe DucAFoJa8xVVQilw9D/BAmeOHamTogsPxiiTZBbohqx1yQJwWXRS661eu+fieExuZKDK eJQEv5DGftiqDnb1CVMUobkVtRgQZhtRLLE5Z3/m0ubX4NegJe6YhK3mBrZGuutYs3Vd DPjS8deXudPhi64GCW80ol21T5xYeRY56cAD8vZPWWDjKr4f1fAQW18Fu7R+l8B1d+1i v7XQ== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13si1227972otq.30.2020.02.06.22.53.17; Thu, 06 Feb 2020 22:53:31 -0800 (PST) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbgBGGwX (ORCPT + 99 others); Fri, 7 Feb 2020 01:52:23 -0500 Received: from mga05.intel.com ([192.55.52.43]:11942 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726136AbgBGGwX (ORCPT ); Fri, 7 Feb 2020 01:52:23 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2020 22:52:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,412,1574150400"; d="scan'208";a="225471974" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 06 Feb 2020 22:52:21 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1izxUz-0004Yg-6o; Fri, 07 Feb 2020 14:52:21 +0800 Date: Fri, 7 Feb 2020 14:52:00 +0800 From: kbuild test robot To: Prashant Malani Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, heikki.krogerus@intel.com, enric.balletbo@collabora.com, bleung@chromium.org, Prashant Malani , Guenter Roeck Subject: [RFC PATCH] platform/chrome: cros_typec_parse_port_props() can be static Message-ID: <20200207065200.eevscpn4h7d7ocvr@f53c9c00458a> References: <20200205205954.84503-2-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200205205954.84503-2-pmalani@chromium.org> X-Patchwork-Hint: ignore User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: 2adbeaafa10e ("platform/chrome: Add Type C connector class driver") Signed-off-by: kbuild test robot --- cros_ec_typec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chrome/cros_ec_typec.c index fe5659171c2a85..9b83aa4d5456d4 100644 --- a/drivers/platform/chrome/cros_ec_typec.c +++ b/drivers/platform/chrome/cros_ec_typec.c @@ -25,9 +25,9 @@ struct cros_typec_data { struct typec_port *ports[EC_USB_PD_MAX_PORTS]; }; -int cros_typec_parse_port_props(struct typec_capability *cap, - struct fwnode_handle *fwnode, - struct device *dev) +static int cros_typec_parse_port_props(struct typec_capability *cap, + struct fwnode_handle *fwnode, + struct device *dev) { const char *buf; int ret;