diff options
author | Huang Zijiang <[email protected]> | 2019-01-12 15:16:24 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-01-13 15:11:35 +0100 |
commit | 345dca4ca7e65a46bf0b6e2e6b8ab2e998ec6e91 (patch) | |
tree | abe535b4813151d4fcb6430812332fe2fa4a9116 /scripts/gdb/linux/proc.py | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
x86/e820: Replace kmalloc() + memcpy() with kmemdup()
Use the equivalent kmemdup() directly instead of kmalloc() + memcpy().
No functional changes.
[ bp: rewrite commit message. ]
Signed-off-by: Huang Zijiang <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: [email protected]
Cc: Masayoshi Mizuma <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: x86-ml <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions