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

From: Baokun Li
Date: Sun Nov 21 2021 - 22:33:14 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.

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 | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)

--
2.31.1