aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorDiana Craciun <diana.craciun@oss.nxp.com>2020-10-16 12:32:32 +0300
committerAlex Williamson <alex.williamson@redhat.com>2020-10-19 07:09:41 -0600
commit822e1a90afff61826252a65e574e940c0038055c (patch)
treec88ab363d161d8961e6c85c70a888659595b81b0 /drivers/usb/cdns3/cdns3-imx.c
parentvfio/fsl-mc: Fix the dead code in vfio_fsl_mc_set_irq_trigger (diff)
downloadlinux-dev-822e1a90afff61826252a65e574e940c0038055c.tar.xz
linux-dev-822e1a90afff61826252a65e574e940c0038055c.zip
vfio/fsl-mc: fix the return of the uninitialized variable ret
The vfio_fsl_mc_reflck_attach function may return, on success path, an uninitialized variable. Fix the problem by initializing the return variable to 0. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: f2ba7e8c947b ("vfio/fsl-mc: Added lock support in preparation for interrupt handling") Reported-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions