[PATCH -next V4 0/2] fix two bugs when trying rmmod sata_fsl

From: Baokun Li
Date: Mon Nov 22 2021 - 20:29:46 EST


V1->V2:
Fixed the check on the return value of platform_get_irq().
And propagate errors up to sata_fsl_probe()'s callers.
V2->V3:
Add fixed and CC stable and modified the patch description.
V3->V4:
Use a single structure.

Baokun Li (2):
sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl

drivers/ata/sata_fsl.c | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)

--
2.31.1