RE: patch for hci_bcsp.c(2.6.31.-rc1)

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

 



Hi Wending,

please don't top post. Use proper inline quoting.

>         If I keep "if (i++ >= pkts_to_be_removed)", the loop will end up with
>         i=2 if pkts_to_be_removed==1 and the second test skb_queue_walk_safe is true,
> 
>         it will cause error message later on:
> 
>         if (i != pkts_to_be_removed) {
>                 BT_ERR("Removed only %u out of %u pkts", i, pkts_to_be_removed);
>         }
> 
>         I think we should add another line for i++.

Not following? I am saying replace >= with >. Would that work too?
Otherwise please send a patch with a more detailed commit message.

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux