aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorSteve French <[email protected]>2021-07-14 00:40:33 +0000
committerSteve French <[email protected]>2021-07-16 00:06:57 +0000
commit63f94e946fafcfc5080b4a4aec9770158268e4ee (patch)
tree7b2069ac9328a33967b1154336005704b042cba2 /drivers/gpu/drm/lima/lima_sched.c
parentcifs: handle reconnect of tcon when there is no cached dfs referral (diff)
downloadkernel-63f94e946fafcfc5080b4a4aec9770158268e4ee.tar.gz
kernel-63f94e946fafcfc5080b4a4aec9770158268e4ee.zip
cifs: fix missing null session check in mount
Although it is unlikely to be have ended up with a null session pointer calling cifs_try_adding_channels in cifs_mount. Coverity correctly notes that we are already checking for it earlier (when we return from do_dfs_failover), so at a minimum to clarify the code we should make sure we also check for it when we exit the loop so we don't end up calling cifs_try_adding_channels or mount_setup_tlink with a null ses pointer. Addresses-Coverity: 1505608 ("Derefernce after null check") Reviewed-by: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions