aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-06-03 15:37:53 +0300
committerTrond Myklebust <[email protected]>2021-06-03 10:14:42 -0400
commit09226e8303beeec10f2ff844d2e46d1371dc58e0 (patch)
tree51e2c230c7399abae13d4cad9d123ca1d256b99d /drivers/usb/cdns3/cdns3-gadget.c
parent476bdb04c501fc64bf3b8464ffddefc8dbe01577 (diff)
NFS: Fix a potential NULL dereference in nfs_get_client()
None of the callers are expecting NULL returns from nfs_get_client() so this code will lead to an Oops. It's better to return an error pointer. I expect that this is dead code so hopefully no one is affected. Fixes: 31434f496abb ("nfs: check hostname in nfs_get_client") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions