linux_dsm_epyc7002/drivers/vfio/fsl-mc
Diana Craciun 159246378d vfio/fsl-mc: Fix the dead code in vfio_fsl_mc_set_irq_trigger
Static analysis discovered that some code in vfio_fsl_mc_set_irq_trigger
is dead code. Fixed the code by changing the conditions order.

Fixes: cc0ee20bd9 ("vfio/fsl-mc: trigger an interrupt via eventfd")
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>
2020-10-15 12:46:08 -06:00
..
Kconfig
Makefile vfio/fsl-mc: Add irq infrastructure for fsl-mc devices 2020-10-12 11:33:06 -06:00
vfio_fsl_mc_intr.c vfio/fsl-mc: Fix the dead code in vfio_fsl_mc_set_irq_trigger 2020-10-15 12:46:08 -06:00
vfio_fsl_mc_private.h vfio/fsl-mc: Add read/write support for fsl-mc devices 2020-10-12 11:33:27 -06:00
vfio_fsl_mc.c vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit 2020-10-13 11:12:29 -06:00