From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751309AbdFEEuJ (ORCPT ); Mon, 5 Jun 2017 00:50:09 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34628 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751234AbdFEEuI (ORCPT ); Mon, 5 Jun 2017 00:50:08 -0400 Date: Mon, 5 Jun 2017 06:50:04 +0200 From: Jiri Pirko To: Sudip Mukherjee Cc: Jamal Hadi Salim , Cong Wang , "David S. Miller" , Ralf Baechle , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-mips@linux-mips.org Subject: Re: [PATCH] net: sched: fix mips build failure Message-ID: <20170605045004.GA1929@nanopsycho.orion> References: <1496612653-12419-1-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1496612653-12419-1-git-send-email-sudipm.mukherjee@gmail.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sun, Jun 04, 2017 at 11:44:13PM CEST, sudipm.mukherjee@gmail.com wrote: >The build of mips ar7_defconfig was failing with the error: >../net/sched/act_api.c: In function 'tcf_action_goto_chain_init': >../net/sched/act_api.c:37:18: error: > implicit declaration of function 'tcf_chain_get' > [-Werror=implicit-function-declaration] > >../net/sched/act_api.c: In function 'tcf_action_goto_chain_fini': >../net/sched/act_api.c:45:2: error: > implicit declaration of function 'tcf_chain_put' > [-Werror=implicit-function-declaration] > >Add two inline helpers for the case where CONFIG_NET_CLS is not enabled. > >Signed-off-by: Sudip Mukherjee I already sent a fix for this: http://patchwork.ozlabs.org/project/netdev/list/