]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: replace kmalloc + strlcpy
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Oct 2015 09:46:08 +0000 (12:46 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Oct 2015 10:11:26 +0000 (21:11 +1100)
commit1a54632f3a9b1923d17f6d7cd3d05c7415456f3f
tree4e02c4a9a6cfa55066206134a503f799dab9e7f9
parent82ad2ca0d672f21fb0e9970587529e1d485671e4
powerpc/pseries: replace kmalloc + strlcpy

The helper kstrndup() will do the same in one line.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/of_helpers.c