diff options
| author | Amit Daniel Kachhap <[email protected]> | 2021-11-05 13:38:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-06 13:30:36 -0700 |
| commit | b063e374e7ae75589a36f4bcbfb47956ac197c57 (patch) | |
| tree | a1dd2be0d3f0689a7ea9d9094a3bda2f0182ec02 /tools/perf/scripts/python/netdev-times.py | |
| parent | f1dc0db296bd25960273649fc6ef2ecbf5aaa0e0 (diff) | |
mm/memory.c: avoid unnecessary kernel/user pointer conversion
Annotating a pointer from __user to kernel and then back again might
confuse sparse. In copy_huge_page_from_user() it can be avoided by
removing the intermediate variable since it is never used.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Amit Daniel Kachhap <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions