On 13/07/2022 03:56, Yang Yingliang wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > Patch #1 fix a UAF in mchp_corespi_remove(). > Patch #2 and #3 some cleanups to simpify code. P sure I already gave you an R-b for patch 1, but for the series: Reviewed-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx> > > v1 -> v2: > add patch #3 to use dev_err_probe to simpify code. > > Yang Yingliang (3): > spi: microchip-core: fix UAF in mchp_corespi_remove() > spi: microchip-core: switch to use devm_spi_alloc_master() > spi: microchip-core: switch to use dev_err_probe() > > drivers/spi/spi-microchip-core.c | 56 ++++++++++++-------------------- > 1 file changed, 20 insertions(+), 36 deletions(-) > > -- > 2.25.1 >