Re: [PATCH] target: Fix incorrect se_cmd assignment in core_tmr_drain_tmr_list

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

 



On Wed, Oct 26, 2011 at 11:37 AM, Jörn Engel <joern@xxxxxxxxx> wrote:
> [PATCH] target: Fix core_tmr_drain_tmr_list
>
> tmr should have been used only once in this function, to compare
> against tmr_p.  Both other uses we bugs that were hit in practice.
>
> And after having had to look at this function twice, also remove some
> superfluous brackets, a pointless NULL check and convert the
> hand-rolled loop into list_for_each_entry_safe().
>
> Signed-off-by: Joern Engel <joern@xxxxxxxxx>

Reviewed-by: Roland Dreier <roland@xxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux