Re: [PATCH 02/16] qla2xxx: Implement ref count for srb

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

 



On Mon, Jan 03, 2022 at 03:56:06AM +0000, Saurav Kashyap wrote:
> > > -	sp->free(sp);
> > > +	/* ref: INIT */
> > 
> > IMO, There is no need for this comment spread in this patch. Please explain If
> > you think there is need for comment.
> 
> <SK> Thanks for the review. The sp reference can be taken and released on various paths. These comments make 
> life simpler during some ref issue and also make code more understandable. For various scenarios, this comments
> helps in determining final reference count and check if its released properly or not.

I think the better way to address is to get Sebastian's patch working:

https://lore.kernel.org/all/20131103193308.GA20998@xxxxxxxxxxxxx/

Daniel



[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