linux/fs/cifs
Steve French ff93b71a3e smb3: fix uninitialized value for port in witness protocol move
Although in practice this can not occur (since IPv4 and IPv6 are the
only two cases currently supported), it is cleaner to avoid uninitialized
variable warnings.

Addresses smatch warning:
  fs/cifs/cifs_swn.c:468 cifs_swn_store_swn_addr() error: uninitialized symbol 'port'.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
CC: Samuel Cabrero <scabrero@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
2021-06-20 21:28:17 -05:00
..
asn1.c cifs: decoding negTokenInit with generic ASN1 decoder 2021-06-20 21:28:17 -05:00
cache.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifs_debug.c cifs: convert list_for_each to entry variant in cifs_debug.c 2021-06-20 21:28:17 -05:00
cifs_debug.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifs_dfs_ref.c cifs: fix doc warnings in cifs_dfs_ref.c 2021-06-20 21:28:16 -05:00
cifs_fs_sb.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifs_ioctl.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifs_spnego_negtokeninit.asn1 cifs: decoding negTokenInit with generic ASN1 decoder 2021-06-20 21:28:17 -05:00
cifs_spnego.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifs_spnego.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifs_swn.c smb3: fix uninitialized value for port in witness protocol move 2021-06-20 21:28:17 -05:00
cifs_swn.h cifs: simplify SWN code with dummy funcs instead of ifdefs 2021-04-25 16:28:22 -05:00
cifs_unicode.c Convert trailing spaces and periods in path components 2020-10-11 23:57:18 -05:00
cifs_unicode.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
cifs_uniupr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
cifsacl.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifsacl.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifsencrypt.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifsfs.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifsfs.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifsglob.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifspdu.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifsproto.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
cifsroot.c cifs: Standardize logging output 2020-06-01 00:10:18 -05:00
cifssmb.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
connect.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
dfs_cache.c cifs: fix check of dfs interlinks 2021-06-20 21:28:17 -05:00
dfs_cache.h cifs: handle different charsets in dfs cache 2021-06-20 21:28:16 -05:00
dir.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
dns_resolve.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
dns_resolve.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
export.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
file.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
fs_context.c cifs: Fix inconsistent indenting 2021-05-19 21:11:09 -05:00
fs_context.h smb3: add rasize mount parameter to improve readahead performance 2021-04-25 23:59:08 -05:00
fscache.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
fscache.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
inode.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
ioctl.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
Kconfig cifs: decoding negTokenInit with generic ASN1 decoder 2021-06-20 21:28:17 -05:00
link.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
Makefile cifs: decoding negTokenInit with generic ASN1 decoder 2021-06-20 21:28:17 -05:00
misc.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
netlink.c cifs: Constify static struct genl_ops 2021-06-20 21:28:16 -05:00
netlink.h cifs: Register generic netlink family 2020-12-14 09:16:22 -06:00
netmisc.c cifs`: handle ERRBaduid for SMB1 2020-08-02 18:00:25 -05:00
nterr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
nterr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
ntlmssp.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
readdir.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
rfc1002pdu.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
sess.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb1ops.c cifs: constify path argument of ->make_node() 2021-04-25 16:28:23 -05:00
smb2file.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb2glob.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb2inode.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb2maperror.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb2misc.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb2ops.c cifs: retry lookup and readdir when EAGAIN is returned. 2021-06-20 21:28:17 -05:00
smb2pdu.c cifs: fix unneeded null check 2021-06-20 21:28:17 -05:00
smb2pdu.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb2proto.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb2status.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smb2transport.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smbdirect.c cifs: Fix fall-through warnings for Clang 2020-12-13 19:12:07 -06:00
smbdirect.h cifs: smbd: Do not schedule work to send immediate packet on every receive 2020-04-07 12:41:16 -05:00
smbencrypt.c fs: cifs: move from the crypto cipher API to the new DES library interface 2019-08-22 14:57:34 +10:00
smberr.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
smbfsctl.h cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
trace.c smb3: Cleanup license mess 2019-01-24 09:37:33 -06:00
trace.h cifs: fix string declarations and assignments in tracepoints 2021-05-27 14:04:32 -05:00
transport.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00
unc.c cifs: don't cargo-cult strndup() 2021-04-25 16:28:23 -05:00
winucase.c Replace HTTP links with HTTPS ones: CIFS 2020-07-05 14:23:38 -06:00
xattr.c cifs: use SPDX-Licence-Identifier 2021-06-20 21:28:17 -05:00