1
0
Fork 0
alistair23-linux/drivers/misc/sgi-gru
Jan Kara 1a29d85eb0 mm: use vmf->address instead of of vmf->virtual_address
Every single user of vmf->virtual_address typed that entry to unsigned
long before doing anything with it so the type of virtual_address does
not really provide us any additional safety.  Just use masked
vmf->address which already has the appropriate type.

Link: http://lkml.kernel.org/r/1479460644-25076-3-git-send-email-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-12-14 16:04:09 -08:00
..
Makefile misc: change to new flag variable 2011-03-17 14:05:34 +01:00
gru.h gru: improve GRU TLB dropin statistics 2009-12-16 07:20:17 -08:00
gru_instructions.h Add #includes needed to permit the removal of asm/system.h 2012-03-28 18:30:03 +01:00
grufault.c mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
grufile.c x86/UV: Fix conditional in gru_exit() 2014-04-01 12:10:45 +02:00
gruhandles.c misc: sgi-gru: gruhandles.c: Remove unused function 2015-10-04 12:55:59 +01:00
gruhandles.h misc: sgi-gru: gruhandles.c: Remove unused function 2015-10-04 12:55:59 +01:00
grukdump.c drivers/misc/sgi-gru: remove always false condition 2015-09-20 19:27:59 -07:00
grukservices.c x86/platform/UV: Remove Obsolete GRU MMR address translation 2016-05-04 08:48:51 +02:00
grukservices.h X86: uv: implement a gru_read_gpa kernel function 2009-12-16 07:20:13 -08:00
grulib.h gru: improve GRU TLB dropin statistics 2009-12-16 07:20:17 -08:00
grumain.c mm: use vmf->address instead of of vmf->virtual_address 2016-12-14 16:04:09 -08:00
gruprocfs.c misc: replace strict_strtoul() with kstrtoul() 2013-06-06 12:54:08 -07:00
grutables.h Fix common misspellings 2011-03-31 11:26:23 -03:00
grutlbpurge.c misc: sgi-gru: fix return of error 2015-10-04 12:55:59 +01:00