]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: use memdup_user_nul
authorGeliang Tang <geliangtang@gmail.com>
Sat, 29 Apr 2017 01:45:15 +0000 (09:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Jul 2017 11:23:25 +0000 (21:23 +1000)
commit8f17c8799fc1a2517581048622545e331da40474
treee9b38322724aa926c81264b5edccc77944d99cc7
parent3743626317127f6eccb64919042a6d4ffb44bd24
powerpc/pseries: use memdup_user_nul

Use memdup_user_nul() 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/pseries/reconfig.c