Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp209974pxx; Wed, 28 Oct 2020 02:54:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhZ7BvX7HDf0dl3JvLKStFTgQzOv3mbkSpejsYJIi9fQ9heY3Seq1JxR+T3/BfL+OpfTsd X-Received: by 2002:a17:906:cb2:: with SMTP id k18mr2200044ejh.71.1603878887358; Wed, 28 Oct 2020 02:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603878887; cv=none; d=google.com; s=arc-20160816; b=aFwvFMp9Vb52v22n+JkY6w7IAJ2GvPDZoDHJysBP0GFtQ1d0Rrq8bPPJeJod+oU/45 PfYUmXPixYMMA3spScWm7GIrStqO7wS2XYNOduAd8kK9RxkrGqJM0CtPHJLUXSQPIef3 gdqAMt6cnt6zTRRR53c6aTM2Xwced7nSpMliqKzbXUMYYa+E+JBuVg17d0eZgPUsDhmP Qiy5YwYMxacSiwGnN18D8LEofw9ii5iUvpEBu8PV05Y8uGnM3p87GbaR2G1imVSQVm2J maX4sfjknMc3yVX/qDRHjburC/8W62+U5uQWHp4I6/cfa3bFbT3xhaYxuBSFotwUpTr2 d93A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=MWFWC+3qOe898VOcJT9HRfJFNllXRi7eLLdQeGtsWrs=; b=BeCEmWl+OXdZJBtbIE/9UswmeBgioXXxBYYkVP1MHEGePXtvJTj0qdOSXOaiu4WjIe 0UA6ICKw5x55F6qBXarf0gSUaIajMoa+1haHeveP/dR1VJeJ7GhvgilA7OCdzNzRIOft fWY6Pfr39x3CaY7nUkJNwAkGm2ki6SRiMtcIE4j/Ifi0Cyizd+t9fRJPaM1hMbPmMyH6 dZb17w1D+hwKBmFh8v13NuLZ0MWp13va+L01IgOu0j2jGnwKjjH1J9WYQlZKLC77A0ML JQKMT907sKBfOjVMpsDtumZQbrBzXtn38y7MhsXucE5YJxTbm+gOQijvRU/Ztx1dtSp7 Csyw== 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 o10si2705925ejr.482.2020.10.28.02.54.25; Wed, 28 Oct 2020 02:54:47 -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; 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 S1759117AbgJ0O1t (ORCPT + 99 others); Tue, 27 Oct 2020 10:27:49 -0400 Received: from mga18.intel.com ([134.134.136.126]:19115 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759058AbgJ0O11 (ORCPT ); Tue, 27 Oct 2020 10:27:27 -0400 IronPort-SDR: vlIj7CnQzk86FJakkjCT9RxVQkb1OkpX2nV0HQDQWySE8hMNpsLUr4R8fRfdls5/HeIleNSBT5 d9ZBdfvJ7dMA== X-IronPort-AV: E=McAfee;i="6000,8403,9786"; a="155867520" X-IronPort-AV: E=Sophos;i="5.77,424,1596524400"; d="scan'208";a="155867520" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2020 07:27:27 -0700 IronPort-SDR: xhBn0Zrry2aYw+lnSTStOOgfvyUkk0U5YLitxi1kcFmbTv6NpqviWQv/R8n7c4LNmPpKhlDc9B r3m6zkQukAXw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,424,1596524400"; d="scan'208";a="303892410" Received: from lkp-server01.sh.intel.com (HELO ef28dff175aa) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 27 Oct 2020 07:27:25 -0700 Received: from kbuild by ef28dff175aa with local (Exim 4.92) (envelope-from ) id 1kXPwa-0000Ka-N6; Tue, 27 Oct 2020 14:27:24 +0000 Date: Tue, 27 Oct 2020 22:27:14 +0800 From: kernel test robot To: Prashant Malani , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, heikki.krogerus@linux.intel.com, Prashant Malani , Benson Leung , Enric Balletbo i Serra , Guenter Roeck Subject: [RFC PATCH] platform/chrome: cros_ec_typec: cros_typec_cmds_supported() can be static Message-ID: <20201027142714.GA59601@b3e12f4a23db> References: <20201021205317.708008-6-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201021205317.708008-6-pmalani@chromium.org> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: kernel test robot --- cros_ec_typec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chrome/cros_ec_typec.c index 98d22720b365fe..f578d0bfbe5a75 100644 --- a/drivers/platform/chrome/cros_ec_typec.c +++ b/drivers/platform/chrome/cros_ec_typec.c @@ -695,7 +695,7 @@ static int cros_typec_get_cmd_version(struct cros_typec_data *typec) } /* Check the EC feature flags to see if TYPEC_* commands are supported. */ -int cros_typec_cmds_supported(struct cros_typec_data *typec) +static int cros_typec_cmds_supported(struct cros_typec_data *typec) { struct ec_response_get_features resp = {}; int ret;