linux/drivers/misc/mic/scif
YueHaibing 6484a67729 misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
gcc '-Wunused-but-set-variable' warning:

drivers/misc/mic/scif/scif_rma.c: In function 'scif_create_remote_lookup':
drivers/misc/mic/scif/scif_rma.c:373:25: warning:
 variable 'vmalloc_num_pages' set but not used [-Wunused-but-set-variable]

'vmalloc_num_pages' should be used to determine if the address is
within the vmalloc range.

Fixes: ba612aa8b4 ("misc: mic: SCIF memory registration and unregistration")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-27 09:00:38 +01:00
..
Makefile
scif_api.c
scif_debugfs.c
scif_dma.c
scif_epd.c
scif_epd.h
scif_fd.c
scif_fence.c
scif_main.c
scif_main.h
scif_map.h
scif_mmap.c
scif_nm.c
scif_nodeqp.c
scif_nodeqp.h
scif_peer_bus.c
scif_peer_bus.h
scif_ports.c
scif_rb.c
scif_rb.h
scif_rma_list.c
scif_rma_list.h
scif_rma.c misc: mic/scif: fix copy-paste error in scif_create_remote_lookup 2018-11-27 09:00:38 +01:00
scif_rma.h