commit | 30f7bc99a2a97cce9cda17d411c748550c0ece7b | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Tue Oct 30 15:05:22 2018 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Oct 31 08:54:12 2018 -0700 |
tree | e707c86e4c6b3784c50c0a00dcbf3fcc61fa826e | |
parent | 8ec3d76863d8bb317f330bbe4bf35cded8d85f01 [diff] |
lib/parser.c: switch match_strdup() over to use kmemdup_nul() This simplifies the code. No change in behavior. Link: http://lkml.kernel.org/r/20180830194436.188867-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>