diff options
| author | Ingo Molnar <[email protected]> | 2015-05-08 10:43:53 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-05-08 10:43:53 +0000 |
| commit | 562bfca4c80175d1d18eef5c3f4bb8dda53c03e4 (patch) | |
| tree | a17d6623c7eef6d86b648d26e1d5602c416ee4da /lib/mpi/mpicoder.c | |
| parent | Merge branch 'linus' into x86/cleanups, before applying dependent patch (diff) | |
| download | kernel-562bfca4c80175d1d18eef5c3f4bb8dda53c03e4.tar.gz kernel-562bfca4c80175d1d18eef5c3f4bb8dda53c03e4.zip | |
x86/mm: Clean up types in xlate_dev_mem_ptr() some more
So Linus noticed that in:
94d4b4765b7d ("x86/mm: Clean up types in xlate_dev_mem_ptr()")
... I added two nonsensical casts, due to the poor type choice
for 'vaddr'.
Change it to 'void *' and take advantage of void * arithmetics.
This removes the casts.
( Also remove a nonsensical return line from unxlate_dev_mem_ptr()
while at it. )
Suggested-by: Linus Torvalds <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
