Re: [PATCH -next] net: i40e: fix build, depends on CONFIGFS_FS

From: Jeff Kirsher
Date: Tue Mar 03 2015 - 15:12:30 EST


On Tue, 2015-03-03 at 11:35 -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> i40e uses configfs interfaces so it should depend on CONFIGFS_FS.
>
> Fixes these build errors:
>
> drivers/built-in.o: In function `i40e_cfgfs_group_make_item':
> i40e_configfs.c:(.text+0x2fcdca): undefined reference to
> `config_item_init_type_name'
> drivers/built-in.o: In function `i40e_configfs_init':
> (.text+0x2fcee6): undefined reference to `config_group_init'
> drivers/built-in.o: In function `i40e_configfs_init':
> (.text+0x2fcf0c): undefined reference to `configfs_register_subsystem'
> drivers/built-in.o: In function `i40e_configfs_exit':
> (.text+0x2fcf71): undefined reference to
> `configfs_unregister_subsystem'
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Linux NICS <linux.nics@xxxxxxxxx>
> Cc: Jeff Kirsher <jeffrey.t.kirsher@xxxxxxxxx>
> ---
> drivers/net/ethernet/intel/Kconfig | 1 +
> 1 file changed, 1 insertion(+)

I have a patch from Greg Rose already that fixes this, which I was just
about to push.

Attachment: signature.asc
Description: This is a digitally signed message part