Re: [PATCH 0/3] ata: libata-transport: fix some error handing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/7/22 21:59, Yang Yingliang wrote:
> This patchset handle error case of transport_add_device(), if it's
> ignored, it will lead kernel crash because of trying to delete not
> added device in transport_remove_device()
> 
> Yang Yingliang (3):
>   ata: libata-transport: fix error handling in ata_tport_add()
>   ata: libata-transport: fix error handling in ata_tlink_add()
>   ata: libata-transport: fix error handling in ata_tdev_add()

It would be nice to have your earlier patch "ata: libata-transport: fix
double ata_host_put() in ata_tport_add()" in this series too. When
sending a v2, please include it.

> 
>  drivers/ata/libata-transport.c | 18 +++++++++++++++---
>  1 file changed, 15 insertions(+), 3 deletions(-)
> 

-- 
Damien Le Moal
Western Digital Research




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux