Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp957587ybk; Wed, 13 May 2020 18:25:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRCwgQ2dI3bWNz3aWoMFFFK+qQnAkSgriytD8BY3+kS2aJeFXiGRNwi8qtbxOTb5MN7/7s X-Received: by 2002:a17:907:40f1:: with SMTP id no1mr1810792ejb.178.1589419545603; Wed, 13 May 2020 18:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589419545; cv=none; d=google.com; s=arc-20160816; b=L8AerIOLqXCqqFojJs0qADWpcu9fSiTrGGWaF7CDHXdnjmalM6GXmKy5q4OgiUGREY akv/YDunD/2VavDOPZQM1TjDkAkP7BaxAzMqx8znwsnxAvxdzUk7Y/0KEkn4AQVNws0u nP43LSuDucMHjuOjEJ6kf3GZTdzerdHZBkU0+fO5JJj4aI6rMqk6vI8AKNEOi0dBs9Xk GEs+qfaUyJ0nypwsUKMZLgjdWELX0ZZBqOZ7ilV/13nXJcAhswIYPVW3BhTIP1TXEMrj YXrt53BsZoWnBhElcSeaK4ceBPTjbZUoCSlqIBx+baZWseM9wlAKE4+YgnZ07usPdIcK NGqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GON0HitVlq+brdSy9wAlWQn7wkOJzyVmsNEERc/E1BQ=; b=GZBlpSb6UzedZfVgvhDsysd1H01twuwlio32zme7eaB9onDnUBpQPw5HEiPhjUIyoa b4KuhLAqkxReHIwWf0joG0jCYZrYFIDMU9mck+o6M+KqQ3BJxlnaJxf5/4nygJ1dDVe1 /IlPfjDVDoL9cXkwTPXlQHJJT0eJLfqrlo24xHJlk2bUGBut+dHq2KP4UgLphNcW+tcN 90jcoUe2rgXWO7cd9MLBZd+voUJ4tSrACLIT8wmfYb3MqQU9wZgnwSbmpDV0zaYgecA7 mdnJiLS0oHT+X02owX/ah3uACOCizKMVxn6+nhJamAkRuK3UrgZ9/Y9RiKaBs0+i8nO/ VF5Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t9si696189edw.135.2020.05.13.18.25.22; Wed, 13 May 2020 18:25:45 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727033AbgENBVk (ORCPT + 99 others); Wed, 13 May 2020 21:21:40 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4781 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725943AbgENBVj (ORCPT ); Wed, 13 May 2020 21:21:39 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 4EA5FFC54B41A460E5CB; Thu, 14 May 2020 09:21:38 +0800 (CST) Received: from huawei.com (10.67.174.156) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Thu, 14 May 2020 09:21:30 +0800 From: ChenTao To: CC: , , , , , Subject: [PATCH -next] sfc: Make siena_check_caps static Date: Thu, 14 May 2020 09:20:42 +0800 Message-ID: <20200514012042.126071-1-chentao107@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.156] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following warning: drivers/net/ethernet/sfc/siena.c:951:14: warning: symbol 'siena_check_caps' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: ChenTao --- drivers/net/ethernet/sfc/siena.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/sfc/siena.c b/drivers/net/ethernet/sfc/siena.c index ed1cb6caa69d..4b4afe81be2a 100644 --- a/drivers/net/ethernet/sfc/siena.c +++ b/drivers/net/ethernet/sfc/siena.c @@ -948,8 +948,8 @@ static int siena_mtd_probe(struct efx_nic *efx) #endif /* CONFIG_SFC_MTD */ -unsigned int siena_check_caps(const struct efx_nic *efx, - u8 flag, u32 offset) +static unsigned int siena_check_caps(const struct efx_nic *efx, + u8 flag, u32 offset) { /* Siena did not support MC_CMD_GET_CAPABILITIES */ return 0; -- 2.22.0