Re: [PATCH 14/17] lpfc: Change lpfc_vport fc_flag member into a bitmask

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

 



Hi Himanshu,

> > -     if (sentadisc == 0) {
> > -             spin_lock_irq(shost->host_lock);
> > -             vport->fc_flag &= ~FC_NLP_MORE;
> > -             spin_unlock_irq(shost->host_lock);
> > -     }
> > +     if (!sentadisc)
> > +             clear_bit(FC_NLP_MORE, &vport->fc_flag);

> this should be if (sentadisc == 0).

Sure, I will post a version 2 of this patch series with this change.

Thanks,
Justin




[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