[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140625.180455.1940740529236282662.davem@davemloft.net>
Date: Wed, 25 Jun 2014 18:04:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: geert@...ux-m68k.org
Cc: _govind@....com, netdev@...r.kernel.org,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] enic: Make dummy rfs functions inline to fix
!CONFIG_RFS_ACCEL build
From: Geert Uytterhoeven <geert@...ux-m68k.org>
Date: Wed, 25 Jun 2014 10:31:09 +0200
> If CONFIG_RFS_ACCEL=n:
>
> drivers/net/ethernet/cisco/enic/enic_main.c: In function 'enic_open':
> drivers/net/ethernet/cisco/enic/enic_main.c:1603:2: error: implicit declaration of function 'enic_rfs_flw_tbl_init' [-Werror=implicit-function-declaration]
> drivers/net/ethernet/cisco/enic/enic_main.c: In function 'enic_stop':
> drivers/net/ethernet/cisco/enic/enic_main.c:1630:2: error: implicit declaration of function 'enic_rfs_flw_tbl_free' [-Werror=implicit-function-declaration]
>
> Introduced in commit a145df23ef32c7b933875f334ba28791ee75766e ("enic: Add
> Accelerated RFS support").
>
> Dummy functions are provided, but their prototypes are missing, causing the
> build failure. Provide dummy static inline functions instead to fix this.
>
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Applied, thanks Geert.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists