aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2018-06-07 17:07:50 -0700
committerLinus Torvalds <[email protected]>2018-06-07 17:34:36 -0700
commitd62ff365b812ecd7415252568c1836811b3dde02 (patch)
tree1ea4e12f13469cf607bdd46a8686d39ad423b319 /lib/mpi/mpi-bit.c
parentbf8d5d52ffe89aac5b46ddb39dd1a4351fae5df4 (diff)
mm/vmpressure.c: use kstrndup instead of kmalloc+strncpy
Using kstrndup() simplifies the code. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions