mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 23:36:57 +07:00
49a0513c1f
In the original code, probe_out could be reached when res was null and then when the irq had not yet been requested. In those cases, the call to free_irq is not needed, so move probe_out down and introduce a new label for the case where calling free_irq is useful. The semantic match that finds this problem is as follows: // <smpl> @r@ expression E, E1; identifier f; statement S1,S2,S3; @@ if (E == NULL) { ... when != if (E == NULL || ...) S1 else S2 when != E = E1 *E->f ... when any return ...; } else S3 // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
ccdc_hw_device.h | ||
dm355_ccdc_regs.h | ||
dm355_ccdc.c | ||
dm644x_ccdc_regs.h | ||
dm644x_ccdc.c | ||
isif_regs.h | ||
isif.c | ||
Kconfig | ||
Makefile | ||
vpbe_display.c | ||
vpbe_osd_regs.h | ||
vpbe_osd.c | ||
vpbe_venc_regs.h | ||
vpbe_venc.c | ||
vpbe.c | ||
vpfe_capture.c | ||
vpif_capture.c | ||
vpif_capture.h | ||
vpif_display.c | ||
vpif_display.h | ||
vpif.c | ||
vpif.h | ||
vpss.c |