diff options
author | 2010-07-22 18:33:01 +0100 | |
---|---|---|
committer | 2010-08-05 17:17:50 +0000 | |
commit | 67b7626a0512d12e34b38ff45e32c693cf9c79a1 (patch) | |
tree | b62f4274a09d0e7ceee6325c077f487c2bceca3b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cifs: show features compiled in as part of DebugData (diff) | |
download | wireguard-linux-67b7626a0512d12e34b38ff45e32c693cf9c79a1.tar.xz wireguard-linux-67b7626a0512d12e34b38ff45e32c693cf9c79a1.zip |
CIFS: Make cifs_convert_address() take a const src pointer and a length
Make cifs_convert_address() take a const src pointer and a length so that all
the strlen() calls in their can be cut out and to make it unnecessary to modify
the src string.
Also return the data length from dns_resolve_server_name_to_ip() so that a
strlen() can be cut out of cifs_compose_mount_options() too.
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions