Re: [PATCH v3 2/9] ata,scsi: remove ata_sas_port_{start,stop} callbacks

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

 



On 2023/7/22 0:32, Niklas Cassel wrote:
Also, remove the call to ap->ops->port_start() in ata_sas_port_init(),
as this would otherwise cause a NULL pointer dereference, now when the
callback is gone.

Signed-off-by: Hannes Reinecke<hare@xxxxxxx>
[niklas: remove the call to ap->ops->port_start() in ata_sas_port_init()]
Signed-off-by: Niklas Cassel<niklas.cassel@xxxxxxx>
---
  drivers/ata/libata-sata.c     | 38 -----------------------------------
  drivers/scsi/libsas/sas_ata.c |  2 --
  include/linux/libata.h        |  2 --
  3 files changed, 42 deletions(-)

Reviewed-by: Jason Yan <yanaijie@xxxxxxxxxx>



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux