Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2782505pxu; Sun, 29 Nov 2020 04:58:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1mbmiNRE+qzaYgSbFZitVbGCQ1P3nqg6L55aqpelRv2gdmg7SR8UyRQ5VkONa7Xy8L0JS X-Received: by 2002:a17:906:3187:: with SMTP id 7mr16484962ejy.225.1606654708401; Sun, 29 Nov 2020 04:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606654708; cv=none; d=google.com; s=arc-20160816; b=nmO+qMc3msuvvT9mMeNy0IapU6RmntxRY97BirjkaKm1Nh4kFYkEUdhjmblY6TiL+D 8pUbeFj/M++nrMfC7OTJsKDDOzfMaoX3HXzhzpUA3iDoNfxBLAKsyJGXjCusdYgnPjkX zyRB8tTQpYPMjTyB1Uyd5XirvpvSqMxrQepB1S+BkRKYYNIyE5dYIZlPQkN5bwlC3RTH IxZQMDP+nvBwH7nGBiydLDnjJbCWvFwsxTnodD93m6pSUXn8HaA2vO5ohfHQiYUKwH7I +EAZLEeHhZB8YnyZxtuNrLf4yPUxEynxdDQUhIUBnEIYOsChOgOdX+zLNYBVXKFy7Jl0 Diew== 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=KtGQPjOnnJTLhmXZXMRf5YzFEcU08LzMFJQc/ArG4Q0=; b=JPMXidJ6dxxPsZ2mGyzEZNth79p5jx9+SDa9BcFYml3RhNHaRe0lpmygzn040sgWWL YGkeWhynAFK4RUNOBIHrFGadoXEE5/9JSKoSnFa4k8Tup0NqknTIll8VTxEuqH9bFe1W Rm0k/mej0adKOHKDF2Ek2n/CX9R8w3LPxncLzItKTfQ0HAGgTEfHdu8c0L4Iy3gNJ/z6 iXiQHhbeaBDxBNPnJ+rs9KOqfbK4mf4+i4lDrifB7ej5odpzM9S7nnZgKESWbCvxlfGR b5atEKcDXUKq76lxXQrOQIavbn31q4bydMDVIS5sxq5LE9XBNIC/qm7sCMhhSebYUbjw ndqg== 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 qp14si283161ejb.85.2020.11.29.04.58.05; Sun, 29 Nov 2020 04:58:28 -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 S1727073AbgK2Mwv (ORCPT + 99 others); Sun, 29 Nov 2020 07:52:51 -0500 Received: from mga03.intel.com ([134.134.136.65]:27078 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbgK2Mwv (ORCPT ); Sun, 29 Nov 2020 07:52:51 -0500 IronPort-SDR: h0DjLgOn0MKkv0cwMqUEeLfbqvrZ5wq6KcfO1uaGtWwRJMFxbo3p1JK5Tmqw+BkaOFZ8fPYzTR 1pBOriRFRfvg== X-IronPort-AV: E=McAfee;i="6000,8403,9819"; a="172632659" X-IronPort-AV: E=Sophos;i="5.78,379,1599548400"; d="scan'208";a="172632659" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2020 04:52:09 -0800 IronPort-SDR: 7VJLYYFQ88L5YzSYwivPtSQbJxk59BrWNa5j0rhwbx2C9RI3vBAkEMmIxy5n9p6kuB98/2me4o I6/X36dwa4Fw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,379,1599548400"; d="scan'208";a="366746471" Received: from lkp-server01.sh.intel.com (HELO 3082e074203f) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 29 Nov 2020 04:52:07 -0800 Received: from kbuild by 3082e074203f with local (Exim 4.92) (envelope-from ) id 1kjMBS-00006R-OZ; Sun, 29 Nov 2020 12:52:06 +0000 Date: Sun, 29 Nov 2020 20:51:59 +0800 From: kernel test robot To: Jean Pihet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Ryan Barnett , Conrad Ratschan , Hugo Cornelis , Arnout Vandecappelle , Jean Pihet Subject: [RFC PATCH] net: dsa: ksz8795: ksz8795_adjust_link() can be static Message-ID: <20201129125159.GA24820@45a3048463a8> References: <20201129102400.157786-2-jean.pihet@newoldbits.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201129102400.157786-2-jean.pihet@newoldbits.com> 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 Reported-by: kernel test robot Signed-off-by: kernel test robot --- ksz8795.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/microchip/ksz8795.c b/drivers/net/dsa/microchip/ksz8795.c index 09c1173cc6073c..834a8dc251adba 100644 --- a/drivers/net/dsa/microchip/ksz8795.c +++ b/drivers/net/dsa/microchip/ksz8795.c @@ -1111,7 +1111,7 @@ static int ksz8795_setup(struct dsa_switch *ds) return 0; } -void ksz8795_adjust_link(struct dsa_switch *ds, int port, +static void ksz8795_adjust_link(struct dsa_switch *ds, int port, struct phy_device *phydev) { struct ksz_device *dev = ds->priv;