[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

Fixed the check on the return value of platform_get_irq().
And propagate errors up to sata_fsl_probe()'s callers.
Add fixed and CC stable and modified the patch description.
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(-)