]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
powerpc/powernv: use memdup_user
authorGeliang Tang <geliangtang@gmail.com>
Sat, 29 Apr 2017 01:45:14 +0000 (09:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Jul 2017 11:48:42 +0000 (21:48 +1000)
commit5588b29a5cd34aec747202e95f328a4f98bfde1a
tree7d7c39fbb826660e9c30af39dc2fd3da836dda19
parent31f8eb753522a71e12e1c7b90c17a2b3d2a2df08
powerpc/powernv: use memdup_user

Use memdup_user() helper instead of open-coding to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-prd.c