diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-11-14 01:57:03 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-27 09:00:38 +0100 |
commit | 6484a677294aa5d08c0210f2f387ebb9be646115 (patch) | |
tree | 09a2d4c80424393b9f6a4898d011a3b7ddf38d01 /lib/lz4 | |
parent | 1830b6eeda1fed42d85f2388f79c926331a9b2d0 (diff) |
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: ba612aa8b487 ("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>
Diffstat (limited to 'lib/lz4')
0 files changed, 0 insertions, 0 deletions