diff options
author | Alexei Starovoitov <ast@plumgrid.com> | 2015-08-29 00:56:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-29 01:27:27 +0200 |
commit | 1a6877b9c0c2ad901d4335d909432d3bb6d3a330 (patch) | |
tree | 25b3a1577a82199d1100834c1bbf6cefad34a5a7 /lib/net_utils.c | |
parent | netpoll: warn on netpoll_send_udp users who haven't disabled irqs (diff) | |
download | linux-1a6877b9c0c2ad901d4335d909432d3bb6d3a330.tar.xz linux-1a6877b9c0c2ad901d4335d909432d3bb6d3a330.zip |
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>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions