summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-11-14 01:57:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-13 09:21:27 +0100
commit1cbec2e9d28efa46469d042c554222fec090e7af (patch)
tree9cbe1c20cbebbe4a3c67d9514351f42c31d51c6d /scripts
parent1ddbdbd3292dcddc73eb79c00ffdd78b463f3a3d (diff)
misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
commit 6484a677294aa5d08c0210f2f387ebb9be646115 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: 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 'scripts')
0 files changed, 0 insertions, 0 deletions