Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1363327
| From | Leon Romanovsky <leon@leon.nu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] IB/mlx5: fix VFs callback function prototypes |
| Date | 2016-03-23 12:00 +0100 |
| Message-ID | <rfOG6-298-9@gated-at.bofh.it> (permalink) |
| References | <rfOmK-22n-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Mar 23, 2016 at 11:37:45AM +0100, Arnd Bergmann wrote:
> The previous patch that added a couple of callback functions put
> the declarations inside of an #ifdef CONFIG_INFINIBAND_ON_DEMAND_PAGING,
> which causes the build to fail if that option is disabled:
>
> drivers/infiniband/hw/mlx5/main.c: In function 'mlx5_ib_add':
> drivers/infiniband/hw/mlx5/main.c:2358:31: error: 'mlx5_ib_get_vf_config' undeclared (first use in this function)
>
> This moves the four declarations below the #ifdef section so they
> are always available.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: eff901d30e6c ("IB/mlx5: Implement callbacks for manipulating VFs")
Thanks,
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] IB/mlx5: fix VFs callback function prototypes Arnd Bergmann <arnd@arndb.de> - 2016-03-23 11:40 +0100 Re: [PATCH] IB/mlx5: fix VFs callback function prototypes Leon Romanovsky <leon@leon.nu> - 2016-03-23 12:00 +0100 Re: [PATCH] IB/mlx5: fix VFs callback function prototypes Eli Cohen <eli@mellanox.com> - 2016-03-30 20:30 +0200
csiph-web