Revision 9967c70abc929e9b910be8d419fdf6a85411a066 authored by Arnd Bergmann on 23 March 2016, 10:37:45 UTC, committed by Doug Ledford on 06 April 2016, 14:37:07 UTC
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") Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
1 parent 9735a22
File | Mode | Size |
---|---|---|
kasan | ||
Kconfig | -rw-r--r-- | 22.4 KB |
Kconfig.debug | -rw-r--r-- | 3.7 KB |
Makefile | -rw-r--r-- | 3.3 KB |
backing-dev.c | -rw-r--r-- | 26.4 KB |
balloon_compaction.c | -rw-r--r-- | 6.6 KB |
bootmem.c | -rw-r--r-- | 21.0 KB |
cleancache.c | -rw-r--r-- | 9.9 KB |
cma.c | -rw-r--r-- | 12.1 KB |
cma.h | -rw-r--r-- | 515 bytes |
cma_debug.c | -rw-r--r-- | 4.4 KB |
compaction.c | -rw-r--r-- | 52.8 KB |
debug.c | -rw-r--r-- | 4.0 KB |
debug_page_ref.c | -rw-r--r-- | 1.3 KB |
dmapool.c | -rw-r--r-- | 13.8 KB |
early_ioremap.c | -rw-r--r-- | 6.2 KB |
fadvise.c | -rw-r--r-- | 3.7 KB |
failslab.c | -rw-r--r-- | 1.4 KB |
filemap.c | -rw-r--r-- | 75.7 KB |
frame_vector.c | -rw-r--r-- | 6.2 KB |
frontswap.c | -rw-r--r-- | 14.3 KB |
gup.c | -rw-r--r-- | 43.9 KB |
highmem.c | -rw-r--r-- | 11.8 KB |
huge_memory.c | -rw-r--r-- | 90.5 KB |
hugetlb.c | -rw-r--r-- | 117.9 KB |
hugetlb_cgroup.c | -rw-r--r-- | 10.5 KB |
hwpoison-inject.c | -rw-r--r-- | 3.2 KB |
init-mm.c | -rw-r--r-- | 619 bytes |
internal.h | -rw-r--r-- | 15.0 KB |
interval_tree.c | -rw-r--r-- | 3.1 KB |
kmemcheck.c | -rw-r--r-- | 2.9 KB |
kmemleak-test.c | -rw-r--r-- | 3.2 KB |
kmemleak.c | -rw-r--r-- | 54.5 KB |
ksm.c | -rw-r--r-- | 63.1 KB |
list_lru.c | -rw-r--r-- | 12.6 KB |
maccess.c | -rw-r--r-- | 3.1 KB |
madvise.c | -rw-r--r-- | 19.4 KB |
memblock.c | -rw-r--r-- | 48.5 KB |
memcontrol.c | -rw-r--r-- | 150.9 KB |
memory-failure.c | -rw-r--r-- | 48.7 KB |
memory.c | -rw-r--r-- | 106.8 KB |
memory_hotplug.c | -rw-r--r-- | 53.7 KB |
mempolicy.c | -rw-r--r-- | 71.2 KB |
mempool.c | -rw-r--r-- | 14.4 KB |
memtest.c | -rw-r--r-- | 2.7 KB |
migrate.c | -rw-r--r-- | 48.0 KB |
mincore.c | -rw-r--r-- | 6.7 KB |
mlock.c | -rw-r--r-- | 21.0 KB |
mm_init.c | -rw-r--r-- | 4.8 KB |
mmap.c | -rw-r--r-- | 88.5 KB |
mmu_context.c | -rw-r--r-- | 1.3 KB |
mmu_notifier.c | -rw-r--r-- | 11.7 KB |
mmzone.c | -rw-r--r-- | 2.4 KB |
mprotect.c | -rw-r--r-- | 11.2 KB |
mremap.c | -rw-r--r-- | 15.1 KB |
msync.c | -rw-r--r-- | 2.6 KB |
nobootmem.c | -rw-r--r-- | 11.1 KB |
nommu.c | -rw-r--r-- | 49.4 KB |
oom_kill.c | -rw-r--r-- | 25.2 KB |
page-writeback.c | -rw-r--r-- | 83.6 KB |
page_alloc.c | -rw-r--r-- | 197.6 KB |
page_counter.c | -rw-r--r-- | 4.8 KB |
page_ext.c | -rw-r--r-- | 10.7 KB |
page_idle.c | -rw-r--r-- | 5.4 KB |
page_io.c | -rw-r--r-- | 9.2 KB |
page_isolation.c | -rw-r--r-- | 8.4 KB |
page_owner.c | -rw-r--r-- | 8.9 KB |
page_poison.c | -rw-r--r-- | 3.5 KB |
pagewalk.c | -rw-r--r-- | 7.5 KB |
percpu-km.c | -rw-r--r-- | 2.8 KB |
percpu-vm.c | -rw-r--r-- | 10.0 KB |
percpu.c | -rw-r--r-- | 65.8 KB |
pgtable-generic.c | -rw-r--r-- | 4.8 KB |
process_vm_access.c | -rw-r--r-- | 9.9 KB |
quicklist.c | -rw-r--r-- | 2.4 KB |
readahead.c | -rw-r--r-- | 15.3 KB |
rmap.c | -rw-r--r-- | 50.2 KB |
shmem.c | -rw-r--r-- | 90.8 KB |
slab.c | -rw-r--r-- | 107.5 KB |
slab.h | -rw-r--r-- | 12.6 KB |
slab_common.c | -rw-r--r-- | 30.1 KB |
slob.c | -rw-r--r-- | 16.0 KB |
slub.c | -rw-r--r-- | 133.8 KB |
sparse-vmemmap.c | -rw-r--r-- | 7.8 KB |
sparse.c | -rw-r--r-- | 20.8 KB |
swap.c | -rw-r--r-- | 26.2 KB |
swap_cgroup.c | -rw-r--r-- | 4.6 KB |
swap_state.c | -rw-r--r-- | 13.1 KB |
swapfile.c | -rw-r--r-- | 77.5 KB |
truncate.c | -rw-r--r-- | 23.8 KB |
userfaultfd.c | -rw-r--r-- | 7.2 KB |
util.c | -rw-r--r-- | 15.0 KB |
vmacache.c | -rw-r--r-- | 3.1 KB |
vmalloc.c | -rw-r--r-- | 68.0 KB |
vmpressure.c | -rw-r--r-- | 12.5 KB |
vmscan.c | -rw-r--r-- | 110.1 KB |
vmstat.c | -rw-r--r-- | 42.3 KB |
workingset.c | -rw-r--r-- | 17.0 KB |
zbud.c | -rw-r--r-- | 18.2 KB |
zpool.c | -rw-r--r-- | 10.0 KB |
zsmalloc.c | -rw-r--r-- | 48.4 KB |
zswap.c | -rw-r--r-- | 32.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...