Files
linux/drivers
YueHaibing 1cbec2e9d2 misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
commit 6484a67729 upstream.

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-12-13 09:21:27 +01:00
..
2018-07-22 14:25:52 +02:00
2018-02-25 11:03:51 +01:00
2016-09-24 10:07:35 +02:00
2018-11-10 07:41:42 -08:00
2018-11-21 09:27:37 +01:00
2018-11-21 09:27:36 +01:00
2018-12-01 09:46:41 +01:00
2018-11-27 16:08:02 +01:00
2018-10-10 08:52:04 +02:00