commit | 1a6877b9c0c2ad901d4335d909432d3bb6d3a330 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@plumgrid.com> | Fri Aug 28 15:56:22 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 28 16:27:27 2015 -0700 |
tree | 25b3a1577a82199d1100834c1bbf6cefad34a5a7 | |
parent | c9fd56b34efd06a031cbc918d288f09e38173ff9 [diff] |
lib: introduce strncpy_from_unsafe() generalize FETCH_FUNC_NAME(memory, string) into strncpy_from_unsafe() and fix sparse warnings that were present in original implementation. Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>