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

From: Baokun Li
Date: Thu Nov 25 2021 - 20:53:03 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.
V4->V5:
Delete duplicate dev_err() message.

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

--
2.31.1