From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f170.google.com ([209.85.128.170]:47022 "EHLO mail-wr0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932169AbeCLMZC (ORCPT ); Mon, 12 Mar 2018 08:25:02 -0400 Received: by mail-wr0-f170.google.com with SMTP id m12so15449804wrm.13 for ; Mon, 12 Mar 2018 05:25:01 -0700 (PDT) Date: Mon, 12 Mar 2018 13:24:59 +0100 From: Jiri Pirko To: Wei Yongjun Cc: Jiri Pirko , Ido Schimmel , rkadi Sharshevsky , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH net-next] mlxsw: spectrum_kvdl: Make some functions static Message-ID: <20180312122459.GC2111@nanopsycho> References: <1520857524-163487-1-git-send-email-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520857524-163487-1-git-send-email-weiyongjun1@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: Mon, Mar 12, 2018 at 01:25:24PM CET, weiyongjun1@huawei.com wrote: >Fixes the following sparse warnings: > >drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c:371:5: warning: > symbol 'mlxsw_sp_kvdl_single_occ_get' was not declared. Should it be static? >drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c:384:5: warning: > symbol 'mlxsw_sp_kvdl_chunks_occ_get' was not declared. Should it be static? >drivers/net/ethernet/mellanox/mlxsw/spectrum_kvdl.c:397:5: warning: > symbol 'mlxsw_sp_kvdl_large_chunks_occ_get' was not declared. Should it be static? > >Signed-off-by: Wei Yongjun Acked-by: Jiri Pirko Thanks!