On Wed, Apr 06, 2016 at 18:14:22 +0200, Pavel Hrdina wrote:
On Wed, Apr 06, 2016 at 05:52:48PM +0200, Peter Krempa wrote:
> For device hotplug, the new alias ID needs to be checked in the list
> rather than using the count of devices. Unplugging a device that is not
> last in the array will make further hotplug impossible due to alias
> collision.
>
> Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1324551
> ---
..
ACK with that fixed.
With the proposed change and removal of the @idx parameter which is
always -1 the code could be simplified. I've pushed the patches.
Thanks.
Peter