]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
smb3: remove static checker warning
authorSteve French <stfrench@microsoft.com>
Sun, 31 May 2020 19:36:56 +0000 (14:36 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 4 Jun 2020 18:50:55 +0000 (13:50 -0500)
commitedb161353680e6d488d94cbcaf967745bee98d17
treeb416a7d4eab9daa8a8267d8a9dabe67eb8ea78b9
parent352d96f3acc6e02099f58a24d5cabce7f8ee061f
smb3: remove static checker warning

Remove static checker warning pointed out by Dan Carpenter:

The patch feeaec621c09: "cifs: multichannel: move channel selection
above transport layer" from Apr 24, 2020, leads to the following
static checker warning:

        fs/cifs/smb2pdu.c:149 smb2_hdr_assemble()
        error: we previously assumed 'tcon->ses' could be null (see line 133)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
CC: Aurelien Aptel <aptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c